From 69da5aad49dbd2aa13134644ae9492e8878bbbfd Mon Sep 17 00:00:00 2001 From: fanfan Date: Mon, 5 Aug 2024 21:05:00 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/tutorial.js | 21 ++++++++++++++++++++- pages/gamll/index.vue | 3 +-- 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/api/tutorial.js b/api/tutorial.js index eb8abf9..9585152 100644 --- a/api/tutorial.js +++ b/api/tutorial.js @@ -7,7 +7,9 @@ const api = { retailList: 'retail/retailPayList', describe: 'retail/describe', 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) => { 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) +} 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 @@