소스 검색

saveHistory 增加一个参数

visuddhinanda 2 년 전
부모
커밋
5dd4e1e1e1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Http/Controllers/SentenceController.php

+ 1 - 1
app/Http/Controllers/SentenceController.php

@@ -419,7 +419,7 @@ class SentenceController extends Controller
         $currSentId = "{$param[0]}-{$param[1]}-{$param[2]}-{$param[3]}";
         RedisClusters::forget("/sent/{$channelId}/{$currSentId}");
         //保存历史记录
-        $this->saveHistory($sent->uid,$user["user_uid"],$request->get('content'));
+        $this->saveHistory($sent->uid,$user["user_uid"],$request->get('content'),$user["user_uid"]);
         Mq::publish('progress',['book'=>$param[0],
                             'para'=>$param[1],
                             'channel'=>$channelId,