This commit is contained in:
yumoqing 2026-03-21 18:15:56 +08:00
parent dabaec4fb6
commit 819618a601

View File

@ -37,6 +37,7 @@ ns = {
"mobile": params_kw.cellphone,
"user_status": "0"
}
udata = DictObject(**ns)
async with get_sor_context(request._run_ns, 'rbac') as sor:
recs = await sor.R('users', {'mobile': params_kw.cellphone})
if recs:
@ -67,7 +68,7 @@ async with get_sor_context(request._run_ns, 'rbac') as sor:
}
}
d = await register_user(sor, ns)
d = await register_user(sor, udata)
if d['status'] == 'error':
return d