This commit is contained in:
2022-10-11 16:51:51 +08:00
18 changed files with 1243 additions and 354 deletions

View File

@@ -55,7 +55,28 @@ const collagePAY = (orderNo,password) => {
})
}
// 河马支付
const hmPay = (orderID) => {
return request({
url : 'user/transaction/recharge/payment/hema',
data : {
order_id: orderID
},
method : 'POST'
})
}
// 河马付支付结果查询
const hmState = (type, id) => {
return request({
url : 'hema/affirm',
method : 'POST',
data : {
type,
id
}
})
}
export {
wxPAY,
@@ -63,4 +84,6 @@ export {
dtPAY,
payIndex,
collagePAY,
hmPay,
hmState
}

View File

@@ -59,6 +59,12 @@ const shopVipWeChat = (id) => {
})
}
// 河马付
const vipHmPay = (orderId) => {
return request({
url: 'user/identities/pay/' + orderId + '/hema'
})
}
export {
vip,
@@ -67,5 +73,6 @@ export {
agreement,
shopVipInfo,
shopVipCreate,
shopVipWeChat
shopVipWeChat,
vipHmPay
}