Commit 9cc969b4 authored by jiangjiantao's avatar jiangjiantao

bugfixed

parent 84d90df0
...@@ -7,7 +7,7 @@ App({ ...@@ -7,7 +7,7 @@ App({
printerName: null, printerName: null,
TEST_URL: "https://cashier.test.miyahub.net/", TEST_URL: "https://cashier.test.miyahub.net/",
RELEASE_URL: "https://cashier.miyahub.com/", RELEASE_URL: "https://cashier.miyahub.com/",
BASE_URL: null, BASE_URL: "https://cashier.miyahub.com/",
appId: "2021001107603212", appId: "2021001107603212",
backScreenAppId:"2021001107617164", backScreenAppId:"2021001107617164",
//小程序容器版本 //小程序容器版本
...@@ -24,7 +24,7 @@ App({ ...@@ -24,7 +24,7 @@ App({
// options.query == {number:1} // options.query == {number:1}
console.info('App onLaunch'); console.info('App onLaunch');
//初始化baseUrl //初始化baseUrl
this.globalData.BASE_URL = this.globalData.TEST_URL; this.globalData.BASE_URL = this.globalData.RELEASE_URL;
//获取容器版本信息 //获取容器版本信息
my.ix.getVersion({ my.ix.getVersion({
success: (r) => { success: (r) => {
......
...@@ -176,7 +176,12 @@ Page({ ...@@ -176,7 +176,12 @@ Page({
this.setData({ this.setData({
isPaying: false isPaying: false
}); });
hideLoading(); my.showToast({
type: 'exception',
content: res.message,
duration: 2000
});
my.hideLoading();
} }
} }
}.bind(this)); }.bind(this));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment