作者 lyh

gx

@@ -21,6 +21,10 @@ class GroupLogic extends BaseLogic @@ -21,6 +21,10 @@ class GroupLogic extends BaseLogic
21 * @method 21 * @method
22 */ 22 */
23 public function group_add(){ 23 public function group_add(){
  24 + $this->param['project_id'] = $this->user['project_id'];
  25 + $this->param['admin_id'] = $this->user['admin_id'];
  26 + $this->param['create_id'] = $this->user['create_id'];
  27 + $this->param['operator_id'] = $this->user['operator_id'];
24 $rs = $this->model->add($this->param); 28 $rs = $this->model->add($this->param);
25 if($rs === false){ 29 if($rs === false){
26 $this->fail('error'); 30 $this->fail('error');