逍遥游注册提示问题

This commit is contained in:
hxhxhx 2025-04-27 13:32:36 +08:00
parent d716f0a80c
commit dacd8e7825

View File

@ -190,28 +190,35 @@
},
success: (res) => {
// console.log(res, 777777)
let token = res.data.data.userinfo.token
//
uni.request({
url: 'https://www.samsaradao.com/api/user/refyzswallet', //
method: 'POST',
data: {
wallet: this.address
},
header: {
token: token //
},
success: (res) => {
console.log('关联钱包地址res', res);
uni.showToast({
title: '註冊成功!!'
})
this.Searchregistration()
uni.switchTab({
url: "/pages/interstellareye/interstellareye", //
});
}
});
if(res.data.code === 1){
let token = res.data.data.userinfo.token
//
uni.request({
url: 'https://www.samsaradao.com/api/user/refyzswallet', //
method: 'POST',
data: {
wallet: this.address
},
header: {
token: token //
},
success: (res) => {
console.log('关联钱包地址res', res);
uni.showToast({
title: '註冊成功!!'
})
this.Searchregistration()
uni.switchTab({
url: "/pages/interstellareye/interstellareye", //
});
}
});
}else{
uni.showToast({
title:res.data.msg,
icon:"error"
})
}
},
fail(rej) {
uni.showToast({