Sfoglia il codice sorgente

'souce来源补充'

zhuchengjie 3 anni fa
parent
commit
84e862d1ef
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/Services/Report/QappUchcReport.php

+ 1 - 1
src/Services/Report/QappUchcReport.php

@@ -38,7 +38,7 @@ class QappUchcReport extends BaseReport
         return  [
         return  [
             'type' => $this->charge_event_type,
             'type' => $this->charge_event_type,
             'event_time' => time() * 100,
             'event_time' => time() * 100,
-            'source' => $user->source,
+            'source' => (isset($user->source) && !empty($user->source)) ? $user->source : BaseConst::Platform,
             'money' => $amount,
             'money' => $amount,
         ];
         ];
     }
     }