...
|
...
|
@@ -567,7 +567,8 @@ class User extends Api |
|
|
},
|
|
|
"createtime_text": ""
|
|
|
}
|
|
|
]
|
|
|
],
|
|
|
"invite_id": 1, 邀请人id
|
|
|
})
|
|
|
*/
|
|
|
public function inviteReward()
|
...
|
...
|
@@ -584,6 +585,7 @@ class User extends Api |
|
|
foreach ($coupon['user_list'] as $key => $value){
|
|
|
$value->visible(['nickname']);
|
|
|
}
|
|
|
$coupon['invite_id'] = $this->auth->id;
|
|
|
$this->success('邀请有奖',$coupon);
|
|
|
}
|
|
|
|
...
|
...
|
|