rkljw 2 일 전
부모
커밋
e01539dcff
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      app/JsonRpc/NewsService.php

+ 2 - 0
app/JsonRpc/NewsService.php

@@ -5585,6 +5585,7 @@ class NewsService implements NewsServiceInterface
     //审核
     unset($data['user_id']);
     $bookInfo = Book::where("id", $data["id"])->first();
+    var_dump($bookInfo,'----');
     if($bookInfo['status']==2){
       $this->sendMessage([
         'talk_type'=>400,
@@ -7433,6 +7434,7 @@ class NewsService implements NewsServiceInterface
       'content' => $messageData['content'],
       'messageType' => $messageData['messageType'],
       'user_id' => $messageData['user_id'] ?? '',
+      'time' => microtime(),
     ];
     $message = new MqProducer($msg);
     $producer = ContextApplicationContext::getContainer()->get(Producer::class);