作者 李宇航

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

gx报错



查看合并请求 !2135
... ... @@ -347,11 +347,11 @@ class KeywordController extends BaseController
*/
public function sendComment(KeywordLogic $logic){
$this->request->validate([
'count' => 'required|integer|max:10',
'count' => 'required|integer|max:100',
], [
'count.required' => '生成条数不能为空',
'count.integer' => '生成条数必须是整数',
'count.max' => '生成条数最大不能超过10',
'count.max' => '生成条数最大不能超过100',
]);
$data = $logic->sendComment();
$this->response('success',Code::SUCCESS,$data);
... ...