正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -347,11 +347,11 @@ class KeywordController extends BaseController | @@ -347,11 +347,11 @@ class KeywordController extends BaseController | ||
| 347 | */ | 347 | */ |
| 348 | public function sendComment(KeywordLogic $logic){ | 348 | public function sendComment(KeywordLogic $logic){ |
| 349 | $this->request->validate([ | 349 | $this->request->validate([ |
| 350 | - 'count' => 'required|integer|max:10', | 350 | + 'count' => 'required|integer|max:100', |
| 351 | ], [ | 351 | ], [ |
| 352 | 'count.required' => '生成条数不能为空', | 352 | 'count.required' => '生成条数不能为空', |
| 353 | 'count.integer' => '生成条数必须是整数', | 353 | 'count.integer' => '生成条数必须是整数', |
| 354 | - 'count.max' => '生成条数最大不能超过10', | 354 | + 'count.max' => '生成条数最大不能超过100', |
| 355 | ]); | 355 | ]); |
| 356 | $data = $logic->sendComment(); | 356 | $data = $logic->sendComment(); |
| 357 | $this->response('success',Code::SUCCESS,$data); | 357 | $this->response('success',Code::SUCCESS,$data); |
-
请 注册 或 登录 后发表评论