|
...
|
...
|
@@ -57,7 +57,7 @@ class NewsCategoryController extends BaseController |
|
|
|
$request->validated();
|
|
|
|
//添加时,验证分类上级分类是否有,有则更新到当前分类中,没有时直接添加
|
|
|
|
$newsCategoryLogic->add_news_category();
|
|
|
|
$this->response('success',Code::SUCCESS,[]);
|
|
|
|
$this->response('success');
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
...
|
...
|
|