|
...
|
...
|
@@ -2,6 +2,7 @@ |
|
|
|
|
|
|
|
namespace App\Http\Logic\Bside\News;
|
|
|
|
|
|
|
|
use App\Helper\Translate;
|
|
|
|
use App\Http\Logic\Bside\BaseLogic;
|
|
|
|
use App\Models\News\News as NewsModel;
|
|
|
|
use App\Models\News\NewsCategory as NewsCategoryModel;
|
|
...
|
...
|
@@ -42,7 +43,6 @@ class NewsCategoryLogic extends BaseLogic |
|
|
|
$this->verifyParamName($this->param['name']);
|
|
|
|
DB::beginTransaction();
|
|
|
|
try {
|
|
|
|
$this->param['alias'] = (isset($this->param['alias']) ? $this->param['alias'] : $this->param['name']).'';
|
|
|
|
if(isset($this->param['id']) && !empty($this->param['id'])){
|
|
|
|
$this->param['operator_id'] = $this->user['id'];
|
|
|
|
//查看路由是否更新
|
...
|
...
|
|