作者 lyh

gx

@@ -79,7 +79,7 @@ class ProductLogic extends BaseLogic @@ -79,7 +79,7 @@ class ProductLogic extends BaseLogic
79 $this->param['category_id'] = $this->getLastCategory($this->param['category_id']); 79 $this->param['category_id'] = $this->getLastCategory($this->param['category_id']);
80 } 80 }
81 if(isset($this->param['keyword_id']) && !empty($this->param['keyword_id'])){ 81 if(isset($this->param['keyword_id']) && !empty($this->param['keyword_id'])){
82 - $this->param['keyword_id'] = implode(',',$this->saveKeyword($this->param['keyword_id'])); 82 + $this->param['keyword_id'] = ','.implode(',',$this->saveKeyword($this->param['keyword_id'])).',';
83 } 83 }
84 $this->model->edit($this->param,['id'=>$this->param['id']]); 84 $this->model->edit($this->param,['id'=>$this->param['id']]);
85 return $this->success(); 85 return $this->success();