作者 lyh

hx

... ... @@ -126,7 +126,7 @@ class KeywordLogic extends BaseLogic
* @time :2023/8/28 14:03
*/
public function batchAdd(){
// try {
try {
foreach ($this->param['title'] as $v){
$this->model = new Keyword();
$info = $this->model->read(['title'=>$v]);
... ... @@ -141,9 +141,9 @@ class KeywordLogic extends BaseLogic
// $this->curlDelRoute(['new_route'=>$route]);
}
}
// }catch (\Exception $e){
// $this->fail('error');
// }
}catch (\Exception $e){
$this->fail('保存失败,请联系管理员');
}
return $this->success();
}
... ...