diff --git a/api/tutorial.js b/api/tutorial.js index eb8abf9..3a65be4 100644 --- a/api/tutorial.js +++ b/api/tutorial.js @@ -7,7 +7,8 @@ const api = { retailList: 'retail/retailPayList', describe: 'retail/describe', submit: 'retail/submit', - getSoftAgreement: 'retail/getSoftAgreement' + getSoftAgreement: 'retail/getSoftAgreement', + tradeQuery: 'retail/tradeQuery', } // 分类 @@ -30,6 +31,15 @@ export const describe = (param) => { export const submit = (param) => { return request.post(api.submit, param) } +/** + * 交易查询 + * 查询第三方支付订单是否付款成功 + * @param {Object} param + */ +export function tradeQuery(param) { + return request.get(api.tradeQuery, param) +} + // 协议 export const getSoftAgreement = (param) => { return request.get(api.getSoftAgreement, param) diff --git a/pages/gamll/index.vue b/pages/gamll/index.vue index f8b9aef..8a9d032 100644 --- a/pages/gamll/index.vue +++ b/pages/gamll/index.vue @@ -203,7 +203,6 @@