|
...
|
...
|
@@ -213,7 +213,7 @@ class BlogLogic extends BaseLogic |
|
|
|
if(isset($this->param['id'])){
|
|
|
|
$param['operator_id'] = $this->user['id'];
|
|
|
|
if(isset($param['category_id']) && !empty($param['category_id'])){
|
|
|
|
$param['category_id'] = explode(',',$param['category_id']);
|
|
|
|
$param['category_id'] = implode(',',$param['category_id']);
|
|
|
|
$param['category_id'] = ','.trim($param['category_id'],',').',';
|
|
|
|
}
|
|
|
|
}else{
|
|
...
|
...
|
@@ -221,7 +221,7 @@ class BlogLogic extends BaseLogic |
|
|
|
$param['operator_id'] = $this->user['id'];
|
|
|
|
$param['project_id'] = $this->user['project_id'];
|
|
|
|
if(isset($param['category_id']) && !empty($param['category_id'])){
|
|
|
|
$param['category_id'] = explode(',',$param['category_id']);
|
|
|
|
$param['category_id'] = implode(',',$param['category_id']);
|
|
|
|
$param['category_id'] = ','.$param['category_id'].',';
|
|
|
|
}
|
|
|
|
}
|
...
|
...
|
|