|
|
@ -7,7 +7,9 @@ const api = { |
|
|
|
retailList: 'retail/retailPayList', |
|
|
|
retailList: 'retail/retailPayList', |
|
|
|
describe: 'retail/describe', |
|
|
|
describe: 'retail/describe', |
|
|
|
submit: 'retail/submit', |
|
|
|
submit: 'retail/submit', |
|
|
|
getSoftAgreement: 'retail/getSoftAgreement' |
|
|
|
getSoftAgreement: 'retail/getSoftAgreement', |
|
|
|
|
|
|
|
tradeQuery: 'cashier/tradeQuery', |
|
|
|
|
|
|
|
unify: 'goods/unify', |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// 分类
|
|
|
|
// 分类
|
|
|
@ -34,3 +36,20 @@ export const submit = (param) => { |
|
|
|
export const getSoftAgreement = (param) => { |
|
|
|
export const getSoftAgreement = (param) => { |
|
|
|
return request.get(api.getSoftAgreement, param) |
|
|
|
return request.get(api.getSoftAgreement, param) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* 交易查询 |
|
|
|
|
|
|
|
* 查询第三方支付订单是否付款成功 |
|
|
|
|
|
|
|
* @param {Object} param |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
export function tradeQuery(param) { |
|
|
|
|
|
|
|
return request.get(api.tradeQuery, param) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* 查询第三方支付信息 |
|
|
|
|
|
|
|
* @param {Object} param |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
export function unify(param) { |
|
|
|
|
|
|
|
return request.get(api.unify, param) |
|
|
|
|
|
|
|
} |
|
|
|