From c4cfb897af889158662f7d2022ec78a7e891c6b5 Mon Sep 17 00:00:00 2001 From: yanzai Date: Thu, 26 Sep 2024 08:48:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E7=A4=BA=E6=94=AF=E4=BB=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- h5/config.js | 4 ++-- h5/pages/main/order/CheckPay.vue | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/h5/config.js b/h5/config.js index 3b12687..3822cc9 100644 --- a/h5/config.js +++ b/h5/config.js @@ -1,6 +1,6 @@ const app_type = 'gzh' -//const base_url="https://api.hainan2024.sa0.online" //开发环境 -const base_url="http://124.225.137.54:39080" //正式环境 +const base_url="https://api.hainan2024.sa0.online" //开发环境 +//const base_url="http://124.225.137.54:39080" //正式环境 const config = { api_map_url: base_url+'/api/ApiMap/h5', base_assets_url: base_url, diff --git a/h5/pages/main/order/CheckPay.vue b/h5/pages/main/order/CheckPay.vue index b72a87f..7581c64 100644 --- a/h5/pages/main/order/CheckPay.vue +++ b/h5/pages/main/order/CheckPay.vue @@ -26,7 +26,11 @@ }) uni.hideLoading() $response(response, () => { - console.log(response); + if(response.status){ + uni.showToast({ + title: '支付成功' + }); + } }) } onLoad((option) => {