|
...
|
...
|
@@ -183,6 +183,7 @@ class NewsLogic extends BaseLogic |
|
|
|
*/
|
|
|
|
public function paramProcessing($param)
|
|
|
|
{
|
|
|
|
$param['operator_id'] = $this->user['id'];
|
|
|
|
if(isset($param['image'])){
|
|
|
|
$param['image'] = str_replace_url($param['image'] ?? '');
|
|
|
|
}
|
|
...
|
...
|
@@ -193,7 +194,6 @@ class NewsLogic extends BaseLogic |
|
|
|
$param['operator_id'] = $this->user['id'];
|
|
|
|
}else{
|
|
|
|
$param['create_id'] = $this->user['id'];
|
|
|
|
$param['operator_id'] = $this->user['id'];
|
|
|
|
$param['project_id'] = $this->user['project_id'];
|
|
|
|
}
|
|
|
|
if(isset($param['category_id']) && !empty($param['category_id'])){
|
...
|
...
|
|