fix::新版本商品页面\订单页面逻辑完善\依赖完善
This commit is contained in:
@@ -18,6 +18,7 @@ const baseUrlwws = 'ws://cashier.sxczgkj.cn/cashierService'
|
||||
// #ifdef APP || MP-WEIXIN
|
||||
const baseUrl = debug ? proxyApi : 'https://cashier.sxczgkj.cn/cashierService' // 线上
|
||||
const baseUrlwws = debug ? proxyApiwws : 'wss://cashier.sxczgkj.cn/netty' // 线上
|
||||
|
||||
// const baseUrl = 'https://cashier.sxczgkj.cn/cashierService' // 线上
|
||||
// const baseUrlwws = 'wss://cashier.sxczgkj.cn/netty' // 线上/
|
||||
// #endif
|
||||
|
||||
@@ -104,8 +104,8 @@ async function request(options) {
|
||||
if (res.code != 0) {
|
||||
if (res.code == -4) {
|
||||
uni.showToast({
|
||||
title: '',
|
||||
// title: res.message || res.msg,
|
||||
// title: '',
|
||||
title: res.message || res.msg,
|
||||
icon: "none",
|
||||
success: () => {
|
||||
setTimeout(res => {
|
||||
|
||||
Reference in New Issue
Block a user