更换接口地址,调整用户会员数据
This commit is contained in:
@@ -10,7 +10,7 @@ import router from '../router'
|
||||
|
||||
// 基础配置
|
||||
const config = {
|
||||
apiUrl : 'http://api.gl.shangkelian.cn/api/', // 正式环境
|
||||
apiUrl : 'https://api.gongli.vip/api/', // 正式环境
|
||||
// apiUrl : 'http://api.zh.shangkelian.cn/api/', // 大健康调试环境,目前没有任何数据无法正常显示,所以需要使用该环境,最后会删除
|
||||
timeout : 60000
|
||||
}
|
||||
|
||||
@@ -19,6 +19,7 @@ const dt = (data) =>{
|
||||
|
||||
// 充值
|
||||
const recharge = (data) => {
|
||||
console.log(data)
|
||||
return request({
|
||||
url: "user/transaction/recharge",
|
||||
method: "POST",
|
||||
@@ -89,6 +90,13 @@ const integral = () => {
|
||||
})
|
||||
}
|
||||
|
||||
// 快捷支付配置
|
||||
const paymentpre = () => {
|
||||
return request({
|
||||
url: 'user/transaction/recharge/paymentpre'
|
||||
})
|
||||
}
|
||||
|
||||
export {
|
||||
dt,
|
||||
recharge,
|
||||
@@ -99,5 +107,6 @@ export {
|
||||
setpassword,
|
||||
getSms,
|
||||
submitTransfer,
|
||||
integral
|
||||
integral,
|
||||
paymentpre
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user