广告apd修改,注册优化

This commit is contained in:
GaoHao
2025-01-16 09:32:49 +08:00
parent a0f899c3cd
commit 76db18804b
3 changed files with 17 additions and 24 deletions

View File

@@ -244,17 +244,10 @@
platform: platform,
qdCode: qdCodeion,
})
if (res.code === 0) {
uni.setStorageSync('token', res.token)
uni.setStorageSync('userId', res.user.userId)
uni.setStorageSync('phone', res.user.phone)
uni.setStorageSync('invitationCode', res.user.invitationCode)
//设置渠道码
if (res.user.qdCod) {
uni.setStorageSync('qdCod', res.user.qdCod)
}
uni.setStorageSync('userInfo', res.user)
uni.showToast({
title: '注册成功',
icon: 'none'