|
|
|
@ -447,6 +447,7 @@ class Auth extends BaseController |
|
|
|
|
'types_of' => 1, |
|
|
|
|
'ctime' => date('Y-m-d H:i:s'), |
|
|
|
|
'memo' => '邀请好友获得品宣积分' . env('brand.brand_integral', '100'), |
|
|
|
|
'user_id' => $data['tid'], |
|
|
|
|
]); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -461,6 +462,7 @@ class Auth extends BaseController |
|
|
|
|
'types_of' => 1, |
|
|
|
|
'ctime' => date('Y-m-d H:i:s'), |
|
|
|
|
'memo' => '注册赠送品宣积分' . env('brand.brand_integral', '100'), |
|
|
|
|
'user_id' => $user->uid, |
|
|
|
|
]); |
|
|
|
|
return app('json')->success($repository->returnToken($user, $tokenInfo)); |
|
|
|
|
} |
|
|
|
|