onlinetest há 4 anos atrás
pai
commit
922d6e5165
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      app/Jobs/QappTikTokUser.php

+ 2 - 2
app/Jobs/QappTikTokUser.php

@@ -49,11 +49,11 @@ class QappTikTokUser implements ShouldQueue
         $client = new Client();
         $params = [
             'device_no' => $this->device_no,
-            'mac' => $this->mac,
+            'mac' => $this->mac ?? '',
             'channel_id' => $this->channel_id,
             'uid' => $this->uid,
             'register_time' => $this->register_time,
-            'is_report' => $this->is_report,
+            'is_report' => (string) $this->is_report,
             'source' => 'zsy'
         ];
         $params['sign'] = _sign($params, SysConsts::TIKTOK_KEY);