This commit is contained in:
唐明明
2022-06-07 16:37:03 +08:00
parent b1e8d774ff
commit 1c6091371e
1706 changed files with 225309 additions and 1 deletions

31
apis/interfaces/pay.js Normal file
View File

@@ -0,0 +1,31 @@
/**
* Web唐明明
* 匆匆数载恍如梦,岁月迢迢华发增。
* 碌碌无为枉半生,一朝惊醒万事空。
* moduleName: 支付
*/
import { request } from '../index'
const wxPAY = (orderNo) => {
return request({
url: 'mall/pay/' + orderNo + '/wechat',
data: {
type: 'app'
}
})
}
const alPAY = (orderNo) => {
return request({
url: 'mall/pay/' + orderNo + '/alipay',
data: {
type: 'app'
}
})
}
export {
wxPAY,
alPAY
}