From 2185e9f36a12bd62e1249323a473de7bf9ef5ac6 Mon Sep 17 00:00:00 2001 From: huliyong <2783385703@qq.com> Date: Sun, 6 Oct 2024 21:18:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=99=BB=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/api.js | 13 +++++++++++++ config.js | 2 +- pages/center/center.vue | 4 ++-- pages/payment/payment.vue | 1 + 4 files changed, 17 insertions(+), 3 deletions(-) diff --git a/api/api.js b/api/api.js index 07aa9e4..4272ca5 100644 --- a/api/api.js +++ b/api/api.js @@ -21,6 +21,19 @@ const config = { getPrivacyPolicy: { url: '/cheer/login/getPrivacyPolicy', method: 'GET'}, //获取用户协议 getUserAgreement: { url: '/cheer/login/getUserAgreement', method: 'GET'}, + + + /** + * 新版本接口 + */ + //根据加油站标识获取相关配置信息 + twogetConfig: { url: '/cheer/two/getConfig', method: 'GET'}, + //获取加油站列表信息接口 + getGasStationList: { url: '/cheer/two/getGasStationList', method: 'GET'}, + //根据加油站标识获取加油流水订单 + twogetOrderWaterPage: { url: '/cheer/two/getOrderWaterPage', method: 'GET'}, + //根据加油站标识获取加油站充值套餐信息 + twogetRechargeList: { url: '/cheer/two/getRechargeList', method: 'GET'}, } diff --git a/config.js b/config.js index 34f1671..ccc6fdf 100644 --- a/config.js +++ b/config.js @@ -7,7 +7,7 @@ import uvUI from '@/uni_modules/uv-ui-tools' Vue.use(uvUI); // 当前环境 -const type = 'prod' +const type = 'dev' // 环境配置 diff --git a/pages/center/center.vue b/pages/center/center.vue index 2fd6dab..a118fb7 100644 --- a/pages/center/center.vue +++ b/pages/center/center.vue @@ -42,8 +42,8 @@ - + diff --git a/pages/payment/payment.vue b/pages/payment/payment.vue index 71a16a0..21fc377 100644 --- a/pages/payment/payment.vue +++ b/pages/payment/payment.vue @@ -3,6 +3,7 @@ +