constantData.js
863 Bytes
// export const IMG_URL = 'https://img02.glsx.com.cn/weapp/resource/miniprogram/store-assistant/'
// import util from '~/utils/util'
export const IMG_URL = "https://img02.glsx.com.cn/weapp/resource/app-tape/";
// 缓存get方法为空的默认指定值
export const DEFAULT_GET_STORAGEKEY = ["sessionId", "merchantId", "userInfo"];
// 缓存get方法key的对应才映射值
export const STORAGE_OBJECTkEY = {
DEFAULT_GET_STORAGEKEY,
mock_data: "mock_data",
storageFile: "storageFile",
userInfo: "userInfo",
customerInfo: "customerInfo",
noSignInUuid: "noSignInUuid",
noviceGuideStatus: "noviceGuideStatus",
accountLength: "accountLength",
errorFile: "errorFile",
recordList: "recordList",
};
// export const IMG_VERSION = async () => {
// const accountInfo = await util.getMockData()
// return accountInfo?.version || Date.now()
// }