Explorar el Código

修改接口:ai会话-删除聊天记录、给模板添加导航

FengR hace 1 mes
padre
commit
393c47a58c
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      app/Controller/PublicController.php

+ 3 - 3
app/Controller/PublicController.php

@@ -3136,11 +3136,11 @@ class PublicController extends AbstractController
         $validator = $this->validationFactory->make(
             $requireData,
             [
-                'chat_id' => 'required|integer',
+                'session_id' => 'required|integer',
             ],
             [
-                'chat_id.required' => '聊天记录id不能为空',
-                'chat_id.integer' => '聊天记录id必须是整数',
+                'session_id.required' => '会话id不能为空',
+                'session_id.integer' => '会话id必须是整数',
             ]
         );
         if ($validator->fails()) {