正在显示
1 个修改的文件
包含
3 行增加
和
1 行删除
@@ -567,7 +567,8 @@ class User extends Api | @@ -567,7 +567,8 @@ class User extends Api | ||
567 | }, | 567 | }, |
568 | "createtime_text": "" | 568 | "createtime_text": "" |
569 | } | 569 | } |
570 | - ] | 570 | + ], |
571 | + "invite_id": 1, 邀请人id | ||
571 | }) | 572 | }) |
572 | */ | 573 | */ |
573 | public function inviteReward() | 574 | public function inviteReward() |
@@ -584,6 +585,7 @@ class User extends Api | @@ -584,6 +585,7 @@ class User extends Api | ||
584 | foreach ($coupon['user_list'] as $key => $value){ | 585 | foreach ($coupon['user_list'] as $key => $value){ |
585 | $value->visible(['nickname']); | 586 | $value->visible(['nickname']); |
586 | } | 587 | } |
588 | + $coupon['invite_id'] = $this->auth->id; | ||
587 | $this->success('邀请有奖',$coupon); | 589 | $this->success('邀请有奖',$coupon); |
588 | } | 590 | } |
589 | 591 |
-
请 注册 或 登录 后发表评论