逍遥游注册提示问题
This commit is contained in:
parent
d716f0a80c
commit
dacd8e7825
@ -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({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user