浏览代码

会员升级

Kirin 5 天之前
父节点
当前提交
d8357775d2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/controller/api/v1/PublicController.php

+ 1 - 1
app/controller/api/v1/PublicController.php

@@ -92,7 +92,7 @@ class PublicController extends BaseController
 
 
         $rate = sys_config('action_integral_rate', 3);
-        $spread = $userService->getUserInfo($user['spread_uid']);
+        $spread =User::find($user['spread_uid']);
         if ($spread && $spread['is_promoter']) {
             if ($awardIntegralService->getPaySum($spread['uid']) >= $award_order_limit) {
                 var_dump(1212121);