|
|
@@ -43,7 +43,8 @@ export default {
|
|
|
methods: {
|
|
|
async getList() {
|
|
|
const deviceSign = this.deviceType ? 'ios 7.0.0' : 'android 9.0.0';
|
|
|
- let res = await this.$axios.$get(`/api/vip/getList`, { headers: { 'x_app': deviceSign } })
|
|
|
+ const extraHeaders = this.deviceType === 'ios' ? { x_app: 'ios 4.6.0', x_nonce_str: '1558105441627', x_signature: 'h5' } : {};
|
|
|
+ let res = await this.$axios.$get(`/api/vip/getList`, { headers: { ...extraHeaders } })
|
|
|
if (res) {
|
|
|
this.vipList = res.data
|
|
|
}
|