|
...
|
...
|
@@ -140,7 +140,6 @@ class KeywordLogic extends BaseLogic |
|
|
|
if (empty($route_array)) {
|
|
|
|
$this->fail('路由生成失败,请稍后重试!');
|
|
|
|
}
|
|
|
|
try {
|
|
|
|
$num = count($this->param['title']);
|
|
|
|
if($num > 1000){
|
|
|
|
$this->fail('最大数量不能超过1000');
|
|
...
|
...
|
@@ -164,9 +163,6 @@ class KeywordLogic extends BaseLogic |
|
|
|
$this->model->edit(['route'=>$route],['id'=>$id]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}catch (\Exception $e){
|
|
|
|
$this->fail('error');
|
|
|
|
}
|
|
|
|
return $this->success();
|
|
|
|
}
|
|
|
|
|
...
|
...
|
|