update
This commit is contained in:
parent
7370674398
commit
e6f266b5b1
@ -88,7 +88,7 @@ async def wechat_phone_login(
|
||||
nickname=f"蜜友{phone[-4:]}",
|
||||
phone=phone,
|
||||
user_code=user_code,
|
||||
referral_code=None if len(request.referral_code) == 0 else request.referral_code,
|
||||
referral_code=request.referral_code,
|
||||
password=get_password_hash("123456"),
|
||||
openid=openid, # 保存 openid
|
||||
unionid=unionid, # 保存 unionid
|
||||
|
||||
Loading…
Reference in New Issue
Block a user