| | |
| | | /* 根据shopId获取商铺信息 */ |
| | | export const queryShopByShopId = (params, config = {}) => http.get(URL + |
| | | '/payfour-merchant/v1/web/aggregatePayAllin/queryShopByShopId', params, config) |
| | | |
| | | /* 获取积分价值 */ |
| | | export const getScoreWorth = (params, config = {}) => http.get(URL + |
| | | '/payfour-merchant/v1/web/aggregatePayAllin/getScoreWorth', params, config) |
| | | |
| | | |
| | | /* 静默授权登录 */ |
| | | 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' |
| | | if(params.platform==5){ |
| | | 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 = {}) |
| | |
| | | export const getWxOrderInfo = (params, config = {}) => http.post(URL + |
| | | '/payfour-merchant/v1/web/aggregatePayAllin/getWxOrderInfo', |
| | | params, config = {}); |
| | | |
| | | |