逍遥游注册提示问题

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