feat: add channel code integral reward
This commit is contained in:
@@ -376,7 +376,9 @@ class UserServices extends BaseServices
|
||||
|
||||
// 用户注册成功事件
|
||||
$userInfo = array_merge($res->toArray(), [
|
||||
'unionid' => $user['unionid'] ?? ''
|
||||
'unionid' => $user['unionid'] ?? '',
|
||||
'spread_qrcode_id' => (int)($user['spread_qrcode_id'] ?? 0),
|
||||
'spread_qrcode_type' => $user['spread_qrcode_type'] ?? ''
|
||||
]);
|
||||
event('user.register', [$userInfo, true, $spreadUid]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user