登录模块调整,兼容H5平台

This commit is contained in:
唐明明
2022-01-11 11:35:38 +08:00
parent 69328de055
commit a27ffc0a7f
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
}