['对接现金红包接口及样式处理']
This commit is contained in:
@@ -9,8 +9,8 @@ import store from '@/store'
|
||||
|
||||
// 基础配置
|
||||
const config = {
|
||||
// apiUrl : 'https://oapi.lianshang.vip/api/', // 正式环境
|
||||
apiUrl : 'http://api.ahxh.shangkelian.cn/api/', // 测试环境
|
||||
apiUrl : 'https://oapi.lianshang.vip/api/', // 正式环境
|
||||
// apiUrl : 'http://api.ahxh.shangkelian.cn/api/', // 测试环境
|
||||
apiUrls : 'https://storage.lianshang.vip/', // 图片路径(测试/正式)
|
||||
timeout : 60000
|
||||
}
|
||||
@@ -144,7 +144,9 @@ const loginHint = () => {
|
||||
showCancel:false,
|
||||
success: res=> {
|
||||
loginHintState = false
|
||||
if (res.confirm) this.$Router.replace({name: 'Index'})
|
||||
if (res.confirm) uni.navigateTo({
|
||||
url:'/pages/index/index'
|
||||
})
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
@@ -138,6 +138,13 @@ const keyrules = () => {
|
||||
})
|
||||
}
|
||||
|
||||
// 能量球转红包前置,获取能量球的基本信息
|
||||
const accountCashs = (data) => {
|
||||
return request({
|
||||
url: 'user/account/cashs',
|
||||
data:data
|
||||
})
|
||||
}
|
||||
export {
|
||||
seed,
|
||||
hash,
|
||||
@@ -154,6 +161,7 @@ export {
|
||||
securityCheck,
|
||||
securityReset,
|
||||
cmsWithdraw,
|
||||
keyrules
|
||||
keyrules,
|
||||
accountCashs
|
||||
}
|
||||
|
||||
|
||||
@@ -90,7 +90,23 @@ const withdrawsIndexLists = (data) => {
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
// 能量球转红包前置
|
||||
const cashsCreate = () => {
|
||||
return request({
|
||||
url: 'user/account/cashs/create',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 能量球转红包
|
||||
const accountCashs = (data) => {
|
||||
return request({
|
||||
url: 'user/account/cashs',
|
||||
method: 'POST',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
export {
|
||||
accountsCreate,
|
||||
withdrawsAccounts,
|
||||
@@ -101,5 +117,7 @@ export {
|
||||
withdrawsIndexCreate,
|
||||
withdrawsIndex,
|
||||
withdrawsIndexLists,
|
||||
userAccoutScores
|
||||
userAccoutScores,
|
||||
accountCashs,
|
||||
cashsCreate
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user