WIN-2308041133\Administrator 2 days ago
parent
commit
7121a52946
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/services/chat/ChatBalanceService.php

+ 1 - 1
app/services/chat/ChatBalanceService.php

@@ -111,7 +111,7 @@ class ChatBalanceService
         }
         
         // 增加聊天次数
-        return self::add($userId, $chatNum, ChatBalanceLog::TYPE_BUY, '积分购买聊天次数', $order->id);
+        return self::add($userId, $chatNum, ChatBalanceLog::TYPE_BUY, '积分购买聊天次数', (int)$order->id);
     }
     
     /**