| | |
| | | export const getOpenIdBase = (params, config = {}) => http.get(URL + |
| | | '/payfour-merchant/v1/web/aggregatePayAllin/getOpenIdBase', params, config = {}); |
| | | |
| | | /*统一登录*/ |
| | | /*统一授权*/ |
| | | export const userLogin = (params, config = {}) => { |
| | | let path = '/payfour-merchant/v1/web/aggregatePayAllin/getOpenId' |
| | | let path = '/payfour-merchant/v1/web/aggregatePayAllin/getOpenId' //微信授权 |
| | | if(params.platform==5){ //支付宝授权 |
| | | path = '/payfour-merchant/v1/web/h5PayAli/getUserIdByCode' |
| | | } |
| | | if (params.platform == 15) { //云闪付授权 |
| | | path = '/payfour-merchant/v1/web/h5PayUnionPay/getUserIdByCode' |
| | | } |
| | | return http.get(URL + path, |
| | | params, config = {}) |
| | | }; |