Commit 9cc969b4 authored by jiangjiantao's avatar jiangjiantao

bugfixed

parent 84d90df0
......@@ -7,7 +7,7 @@ App({
printerName: null,
TEST_URL: "https://cashier.test.miyahub.net/",
RELEASE_URL: "https://cashier.miyahub.com/",
BASE_URL: null,
BASE_URL: "https://cashier.miyahub.com/",
appId: "2021001107603212",
backScreenAppId:"2021001107617164",
//小程序容器版本
......@@ -24,7 +24,7 @@ App({
// options.query == {number:1}
console.info('App onLaunch');
//初始化baseUrl
this.globalData.BASE_URL = this.globalData.TEST_URL;
this.globalData.BASE_URL = this.globalData.RELEASE_URL;
//获取容器版本信息
my.ix.getVersion({
success: (r) => {
......
......@@ -176,7 +176,12 @@ Page({
this.setData({
isPaying: false
});
hideLoading();
my.showToast({
type: 'exception',
content: res.message,
duration: 2000
});
my.hideLoading();
}
}
}.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