浏览代码

'souce来源补充'

zhuchengjie 3 年之前
父节点
当前提交
84e862d1ef
共有 1 个文件被更改,包括 1 次插入1 次删除
  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,
         ];
     }