|
|
@ -235,15 +235,21 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
async getMemberInfo(type) { |
|
|
|
async getMemberInfo(type) { |
|
|
|
|
|
|
|
// #ifdef H5 |
|
|
|
|
|
|
|
let params = { |
|
|
|
|
|
|
|
client: 'H5' |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
// #endif |
|
|
|
|
|
|
|
// #ifndef H5 |
|
|
|
|
|
|
|
let params = { |
|
|
|
|
|
|
|
client: 'MP-WEIXIN' |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
// #endif |
|
|
|
const { |
|
|
|
const { |
|
|
|
status, |
|
|
|
status, |
|
|
|
data, |
|
|
|
data, |
|
|
|
message |
|
|
|
message |
|
|
|
} = (this.type == 'hy' ? await member.info({ |
|
|
|
} = (this.type == 'hy' ? await member.info(params) : await member.dealerPriceList(params)); |
|
|
|
client: 'MP-WEIXIN' |
|
|
|
|
|
|
|
}) : await member.dealerPriceList({ |
|
|
|
|
|
|
|
client: 'MP-WEIXIN' |
|
|
|
|
|
|
|
})); |
|
|
|
|
|
|
|
if (status == 200) { |
|
|
|
if (status == 200) { |
|
|
|
if (type === 'toast') { |
|
|
|
if (type === 'toast') { |
|
|
|
if (((this.type == 'fx'&& this.personal.user_type == 30) || (this.type == 'hy' && this.personal.user_type == 20)) && this.personal.fx_effective_time !== data.list.personal.fx_effective_time) { |
|
|
|
if (((this.type == 'fx'&& this.personal.user_type == 30) || (this.type == 'hy' && this.personal.user_type == 20)) && this.personal.fx_effective_time !== data.list.personal.fx_effective_time) { |
|
|
@ -278,7 +284,12 @@ |
|
|
|
let params = { |
|
|
|
let params = { |
|
|
|
identity_id: this.info.identity_id, |
|
|
|
identity_id: this.info.identity_id, |
|
|
|
method: 'huifu', |
|
|
|
method: 'huifu', |
|
|
|
|
|
|
|
// #ifdef H5 |
|
|
|
|
|
|
|
client: 'H5' |
|
|
|
|
|
|
|
// #endif |
|
|
|
|
|
|
|
// #ifndef H5 |
|
|
|
client: 'MP-WEIXIN' |
|
|
|
client: 'MP-WEIXIN' |
|
|
|
|
|
|
|
// #endif |
|
|
|
} |
|
|
|
} |
|
|
|
member.submit(params) |
|
|
|
member.submit(params) |
|
|
|
.then(result => { |
|
|
|
.then(result => { |
|
|
@ -297,7 +308,12 @@ |
|
|
|
data |
|
|
|
data |
|
|
|
} = await member.submit({ |
|
|
|
} = await member.submit({ |
|
|
|
method: 'wechat', |
|
|
|
method: 'wechat', |
|
|
|
client: "MP-WEIXIN", |
|
|
|
// #ifdef H5 |
|
|
|
|
|
|
|
client: 'H5', |
|
|
|
|
|
|
|
// #endif |
|
|
|
|
|
|
|
// #ifndef H5 |
|
|
|
|
|
|
|
client: 'MP-WEIXIN', |
|
|
|
|
|
|
|
// #endif |
|
|
|
identity_id: this.info.identity_id, |
|
|
|
identity_id: this.info.identity_id, |
|
|
|
}) |
|
|
|
}) |
|
|
|
if (status == 200) { |
|
|
|
if (status == 200) { |
|
|
@ -337,7 +353,12 @@ |
|
|
|
message |
|
|
|
message |
|
|
|
} = await member.submit({ |
|
|
|
} = await member.submit({ |
|
|
|
method: 'balance', |
|
|
|
method: 'balance', |
|
|
|
client: "MP-WEIXIN", |
|
|
|
// #ifdef H5 |
|
|
|
|
|
|
|
client: 'H5', |
|
|
|
|
|
|
|
// #endif |
|
|
|
|
|
|
|
// #ifndef H5 |
|
|
|
|
|
|
|
client: 'MP-WEIXIN', |
|
|
|
|
|
|
|
// #endif |
|
|
|
identity_id: this.info.identity_id, |
|
|
|
identity_id: this.info.identity_id, |
|
|
|
}) |
|
|
|
}) |
|
|
|
if (status == 200) { |
|
|
|
if (status == 200) { |
|
|
|