会员支付

This commit is contained in:
唐明明
2022-06-09 18:13:41 +08:00
parent ae176de80e
commit 8b454d6db1
26 changed files with 4135 additions and 4075 deletions

View File

@@ -24,7 +24,17 @@ const recharge = (data) => {
})
}
// 订单信息
const payment = (data) => {
return request({
url: "user/transaction/recharge/payment",
method: "POST",
data
})
}
export {
dt,
recharge
recharge,
payment
}

View File

@@ -39,11 +39,12 @@ const shopsDetail = (shopId) => {
}
// 店铺商品
const shopsGoods = (shop_id) => {
const shopsGoods = (shop_id, category_id) => {
return request({
url: 'mall/goods',
data: {
shop_id
shop_id,
category_id
}
})
}

View File

@@ -18,14 +18,14 @@ const vip = () =>{
// 开通会员
const vipPay = () => {
return request({
url: ''
url: 'user/identities/buyvip'
})
}
// 获取支付信息
const payInfo = () => {
const payInfo = (orderId) => {
return request({
url: ''
url: 'user/identities/pay/' + orderId + '/wechat'
})
}