修复批量删除接口 - 参数验证错误

main
gzydong 2021-03-23 17:11:23 +08:00
parent a330bac050
commit bbd582acf7
1 changed files with 1 additions and 1 deletions

View File

@ -260,7 +260,7 @@ class TalkController extends CController
$params = $this->request->inputs(['source', 'record_id', 'receive_id']);
$this->validate($params, [
'source' => 'required|in:1,2',//消息来源1好友消息 2群聊消息
'record_id' => 'required|integer|min:0',
'record_id' => 'required|ids',
'receive_id' => 'required|integer|min:0'
]);