提交 e30395c7 编写于 作者: G gongfuxiang

新增用户调用统一方法

上级 6aabda73
......@@ -400,7 +400,12 @@ class UserService
}
} else {
$data['add_time'] = time();
$user_id = Db::name('User')->insertGetId($data);
$ret = self::UserInsert($data);
if($ret['code'] != 0)
{
return $ret;
}
$user_id = $ret['data']['user_id'];
}
// 添加用户后处理钩子
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册