广告apd修改,注册优化
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user