|
...
|
...
|
@@ -3,6 +3,7 @@ |
|
|
|
namespace App\Http\Logic\Bside\News;
|
|
|
|
|
|
|
|
use App\Enums\Common\Code;
|
|
|
|
use App\Helper\Arr;
|
|
|
|
use App\Http\Logic\Bside\BaseLogic;
|
|
|
|
use App\Models\News\News;
|
|
|
|
use App\Models\News\NewsCategory;
|
|
...
|
...
|
@@ -181,6 +182,9 @@ class NewsLogic extends BaseLogic |
|
|
|
*/
|
|
|
|
public function paramProcessing($param)
|
|
|
|
{
|
|
|
|
if(isset($param['image'])){
|
|
|
|
$param['image'] = str_replace_url($param['image'] ?? '');
|
|
|
|
}
|
|
|
|
if(isset($this->param['id'])){
|
|
|
|
$param['operator_id'] = $this->user['id'];
|
|
|
|
if(isset($param['category_id']) && !empty($param['category_id'])){
|
...
|
...
|
|