public function registerAfter($user)
{
if (systemConfig('newcomer_status')) {
if (systemConfig('register_integral_status')) {
$user->integral = (int)$user->integral + (int)systemConfig('register_give_integral');
}
if (systemConfig('register_money_status')) {
$user->now_money = (int)$user->now_money + (int)systemConfig('register_give_money');
}
$user->save();
try {
Queue::push(SendNewPeopleCouponJob::class, $user->uid);
} catch (\Exception $e) {
}
}
return true;
}
{{item.user_info.nickname ? item.user_info.nickname : item.user_name}}
作者 管理员 企业
{{itemf.name}}
{{itemc.user_info.nickname}}
{{itemc.user_name}}
回复 {{itemc.comment_user_info.nickname}}
{{itemf.name}}