Merge branch 'master' of http://47.244.231.31:8099/zhl/globalso-v6 into develop
正在显示
2 个修改的文件
包含
1 行增加
和
6 行删除
| @@ -94,11 +94,6 @@ class KeywordController extends BaseController | @@ -94,11 +94,6 @@ class KeywordController extends BaseController | ||
| 94 | * @time :2023/8/23 16:57 | 94 | * @time :2023/8/23 16:57 |
| 95 | */ | 95 | */ |
| 96 | public function info(Request $request, KeywordLogic $logic){ | 96 | public function info(Request $request, KeywordLogic $logic){ |
| 97 | - $request->validate([ | ||
| 98 | - 'id'=>'required' | ||
| 99 | - ],[ | ||
| 100 | - 'id.required' => 'ID不能为空' | ||
| 101 | - ]); | ||
| 102 | $data = $logic->getKeywordInfo(); | 97 | $data = $logic->getKeywordInfo(); |
| 103 | if($data !== false){ | 98 | if($data !== false){ |
| 104 | $data = $this->handleReturnInfo($data); | 99 | $data = $this->handleReturnInfo($data); |
| @@ -173,7 +173,7 @@ class BaseLogic extends Logic | @@ -173,7 +173,7 @@ class BaseLogic extends Logic | ||
| 173 | $data['project_id'] = $this->user['project_id']; | 173 | $data['project_id'] = $this->user['project_id']; |
| 174 | $str = http_build_query($data); | 174 | $str = http_build_query($data); |
| 175 | $url = $this->user['domain'].'api/delHtml/?'.$str; | 175 | $url = $this->user['domain'].'api/delHtml/?'.$str; |
| 176 | -// shell_exec($url); | 176 | +// exec($url); |
| 177 | curlGet($url); | 177 | curlGet($url); |
| 178 | return $this->success(); | 178 | return $this->success(); |
| 179 | } | 179 | } |
-
请 注册 或 登录 后发表评论