| | |
| | | const http = uni.$u.http; |
| | | const URL = config.baseURL; |
| | | |
| | | /* 获取商铺信息 */ |
| | | export const queryShop = (params, config = {}) => http.get(URL + |
| | | /* 根据cid获取商铺信息 */ |
| | | export const queryShopByCid = (params, config = {}) => http.get(URL + |
| | | '/payfour-merchant/v1/web/aggregatePayAllin/queryShopById', params, config) |
| | | |
| | | /* 根据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 queryMyUseSweepPayMaxCoupon = (params, config = {}) => http.get(URL + |
| | | '/payfour-merchant/v1/web/aggregatePayAllin/queryMyUseSweepPayMaxCoupon', params, config = {}); |
| | | |
| | | /* 获取用户可用优惠券 */ |
| | | export const queryUseSweepPayCoupon = (params, config = {}) => http.get(URL + |
| | | '/payfour-merchant/v1/web/aggregatePayAllin/queryUseSweepPayCoupon', params, config = {}); |
| | |
| | | '/payfour-merchant/v1/web/aggregatePayAllin/getWxOrderInfo', |
| | | params, config = {}); |
| | | |
| | | /* 获取银行卡配置 */ |
| | | export const bankCardStyle = (params, config = {}) => http.get(URL + |
| | | '/payfour-base/v1/base/pc/global/config/bankCardStyle', |
| | | params, config = {}); |
| | | |