Commit 5fdf7f31 authored by 小耗子's avatar 小耗子

缓存设置

parent c3f4a9bc
......@@ -3,12 +3,14 @@
*/
// export const BASE_URL = 'http://172.18.0.229:9001' //后台根域名 https://demo.shopro.top
export const BASE_URL = 'https://wxcs.zhonghuihaotai.com' //后台根域名 https://demo.shopro.top
export const BASE_URL = 'https://wx.zhonghuihaotai.com' //后台根域名 https://demo.shopro.top
// export const BASE_URL = 'https://wxcs.zhonghuihaotai.com' //后台根域名 https://demo.shopro.top
export const API_URL = `${BASE_URL}/api/a1/` //后台接口域名
export const IMG_URL = 'http://file.shopro.top' //全局网络图片地址变量,css背景图片地址变量在uni.scss
export const MAP_KEY = '426ebc3f1bbaced***89ee6061a98'; //高德地图开发者Web服务key,逆坐标解析
export const HAS_LIVE = false //后台是否开通直播权限,根据情况在manifest.json中,开启注释相应组件的引入,pages.json中打开直播
// http://172.18.1.66:9001/api/a1/mall/homePage/mp?code={前端传入的code}
export const MALL_ID ="119583623123146";
export const COMPANY_ID ="625";
export const MALL_ID ="101656910000414";
export const COMPANY_ID ="0210010";
\ No newline at end of file
......@@ -54,10 +54,10 @@
"quickapp" : {},
/* 小程序特有相关 */
"mp-weixin" : {
"appid" : "wx91fa336def077983",
"appid" : "wx94a3f5be1ea552ec",
"setting" : {
"urlCheck" : false,
"minified" : true
"minified" : false
},
"usingComponents" : true,
"permission" : {
......
......@@ -28,7 +28,7 @@ AppSecret(小程序密钥) :aafbb74ee3e6dcc1c567d6c6ac721870
```
### 无步数商城小程序 :正式
### 无步数商城小程序 :正式 中汇豪泰小程序
```
商城:189099911100589
企业:20230328
......
......@@ -134,6 +134,7 @@
// uni.hideTabBar();
},
onReady() {
wx.clearStorage();
this.getAuth();
},
onShareAppMessage(res){
......
......@@ -49,7 +49,7 @@ const actions = {
code: code,
mallId: state.mallId
}).then(res => {
if (!res.code) {
if (res.code == 0) {
let { sessionKey } = res.data;
uni.setStorageSync("sessionKey", sessionKey)
commit('userInfo', res.data);
......
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