|
...
|
...
|
@@ -31,11 +31,6 @@ class CreateKeywordController extends BaseController |
|
|
|
* @time :2023/12/19 9:31
|
|
|
|
*/
|
|
|
|
public function lists(CreateKeyword $createKeyword){
|
|
|
|
$this->request->validate([
|
|
|
|
'type'=>'required',
|
|
|
|
],[
|
|
|
|
'type.required' => 'id不能为空',
|
|
|
|
]);
|
|
|
|
$list = $createKeyword->list($this->map);
|
|
|
|
$this->response('success',Code::SUCCESS,$list);
|
|
|
|
}
|
|
...
|
...
|
@@ -67,7 +62,8 @@ class CreateKeywordController extends BaseController |
|
|
|
* @method :post
|
|
|
|
* @time :2023/12/19 10:12
|
|
|
|
*/
|
|
|
|
public function createKeyword(){
|
|
|
|
|
|
|
|
public function createKeyword(CreateKeywordLogic $logic){
|
|
|
|
$data = $logic->createKeyword();
|
|
|
|
$this->response('success',Code::SUCCESS,$data);
|
|
|
|
}
|
|
|
|
} |
...
|
...
|
|