| | |
| | | export const getUserId = (params, config = {}) => http.get(URL + '/service-merchant/v1/web/h5PayAli/getUserIdByCode', |
| | | params, config = {}); |
| | | |
| | | export const userLogin = (params, config = {}) => { |
| | | let path = '/service-merchant/v1/web/aggregatePayAllin/getOpenId' |
| | | if (params.platform == 5) { |
| | | path = '/service-merchant/v1/web/h5PayAli/getUserIdByCode' |
| | | } |
| | | if (params.platform == 15) { |
| | | path = '/service-merchant/v1/web/h5PayUnionPay/getUserIdByCode' |
| | | } |
| | | return http.get(URL + path, |
| | | params, config = {}) |
| | | }; |
| | | /* 获取用户积分 */ |
| | | export const queryScore = (params, config = {}) => http.get(URL + |
| | | '/service-merchant/v1/web/aggregatePayAllin/queryScore', params, config = {}); |