修改提现接口
This commit is contained in:
parent
542bdb8b5d
commit
5312fb7c36
|
|
@ -13,10 +13,15 @@ const http = axios.create({
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
// const requestURl = "http://localhost:8100/sqx_fast/";
|
||||||
|
const requestURl = "https://video.hnsiyao.cn/sqx_fast/";
|
||||||
|
// const requestURl = "https://dj-api.hnsiyao.cn/sqx_fast/";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 请求拦截
|
* 请求拦截
|
||||||
*/
|
*/
|
||||||
http.interceptors.request.use(config => {
|
http.interceptors.request.use(config => {
|
||||||
|
console.log(Vue.cookie.get('token'))
|
||||||
config.headers['token'] = Vue.cookie.get('token') // 请求头带上token
|
config.headers['token'] = Vue.cookie.get('token') // 请求头带上token
|
||||||
return config
|
return config
|
||||||
}, error => {
|
}, error => {
|
||||||
|
|
@ -46,7 +51,7 @@ http.adornUrl = (actionName) => {
|
||||||
// return 'http://192.168.0.132:8184/sqx_fast/' + actionName
|
// return 'http://192.168.0.132:8184/sqx_fast/' + actionName
|
||||||
// return 'https://duanjudl.xianmxkj.co/sqx_fast/' + actionName
|
// return 'https://duanjudl.xianmxkj.co/sqx_fast/' + actionName
|
||||||
actionName = actionName.replace(/^\//, "");
|
actionName = actionName.replace(/^\//, "");
|
||||||
return 'https://video.hnsiyao.cn/sqx_fast/' + actionName
|
return requestURl + actionName
|
||||||
|
|
||||||
}
|
}
|
||||||
http.adornUrlUp = (actionName) => {
|
http.adornUrlUp = (actionName) => {
|
||||||
|
|
@ -55,7 +60,7 @@ http.adornUrlUp = (actionName) => {
|
||||||
// return 'http://192.168.0.132:8183/sqx_fast/' + actionName
|
// return 'http://192.168.0.132:8183/sqx_fast/' + actionName
|
||||||
// return 'https://duanjudl.xianmxkj.co/sqx_fast/' + actionName
|
// return 'https://duanjudl.xianmxkj.co/sqx_fast/' + actionName
|
||||||
actionName = actionName.replace(/^\//, "");
|
actionName = actionName.replace(/^\//, "");
|
||||||
return 'https://video.hnsiyao.cn/sqx_fast/' + actionName
|
return requestURl + actionName
|
||||||
|
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -1155,7 +1155,8 @@
|
||||||
// this.tableDataLoading1 = true
|
// this.tableDataLoading1 = true
|
||||||
let userId = this.$cookie.get('userId')
|
let userId = this.$cookie.get('userId')
|
||||||
this.$http({
|
this.$http({
|
||||||
url: this.$http.adornUrl('cash/cashMoney'),
|
// url: this.$http.adornUrl('cash/cashMoney'),
|
||||||
|
url: this.$http.adornUrl('cash/withdraw'),
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: this.$http.adornParams({
|
params: this.$http.adornParams({
|
||||||
'money': this.outMoney,
|
'money': this.outMoney,
|
||||||
|
|
@ -2700,7 +2701,7 @@
|
||||||
mounted() {
|
mounted() {
|
||||||
this.dataSelectUs()
|
this.dataSelectUs()
|
||||||
this.withdrawSelect()
|
this.withdrawSelect()
|
||||||
|
|
||||||
this.platformT = this.detail.qdCode
|
this.platformT = this.detail.qdCode
|
||||||
this.homeSelect()
|
this.homeSelect()
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue