24 lines
834 B
TypeScript
24 lines
834 B
TypeScript
export const APP_CONFIG = {
|
|
API_BASE_URL: 'https://dev.api.leapy.cn',
|
|
APP_ID: '123018',
|
|
RESOURCE_URL: 'https://resource.leapy.cn/staff/',
|
|
PROPERTY_IMG_URL: 'https://resource.leapy.cn/',
|
|
STORAGE_TOKEN_KEY: 'cashier:auth:token',
|
|
// 小程序代码可被反编译,密钥仅用于避免 token 明文落盘,不替代服务端的有效期与失效策略。
|
|
STORAGE_ENCRYPTION_KEY: 'cashier-storage-key-123018-v1-32'
|
|
} as const;
|
|
|
|
export const PROPERTY_APP = {
|
|
APP_ID: 'wx42076f086669c49e',
|
|
BIND_HOUSE_PATH: 'pagesC/certification/index?from=cashier',
|
|
MINE_PATH: 'pages/mine/mine',
|
|
WECHAT_APP_ID: 'wx02de0e1de9f4bda3'
|
|
} as const;
|
|
|
|
export const DEFAULT_MERCHANT = {
|
|
id: '',
|
|
name: '上海大观园',
|
|
background: 'https://dev.api.leapy.cn/upload/202606/26/e3ce560c144a106fa6e41af2118bc208.jpg',
|
|
accumulationRate: 0
|
|
} as const;
|