feat : phone pool

This commit is contained in:
2025-04-10 13:41:39 +08:00
parent 7b26a6cf6b
commit 37331f114e
5 changed files with 102 additions and 1 deletions

View File

@@ -203,6 +203,7 @@ abstract class LoginBaseService extends BaseService
$model->nickname = '用户'.StringUtil::randStr(6);
$model->avatar_id = 0;
$model->reg_ip = SystemUtil::getClientIp();
$model->mobile = $this->mobile;
if (!$model->save()) throw new ErrException('数据保存失败-注册失败');