Browse Source

'souce来源补充'

zhuchengjie 3 years ago
parent
commit
84e862d1ef
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Services/Report/QappUchcReport.php

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

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