作者 李宇航

合并分支 'lyh-server' 到 'master'

gx报错



查看合并请求 !2135
@@ -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);