rkljw 2 gün önce
ebeveyn
işleme
e01539dcff
1 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  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);