Merge branch 'master' of https://git.yuzhankeji.cn/TmOct5/ZhHealth into master

This commit is contained in:
zhangmanman
2022-01-11 11:39:33 +08:00
6 changed files with 139 additions and 20 deletions

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

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