16 lines
538 B
TypeScript
16 lines
538 B
TypeScript
export const APP_CONFIG = {
|
|
API_BASE_URL: 'https://dev.api.leapy.cn',
|
|
APP_ID: '123018',
|
|
RESOURCE_URL: 'https://resource.leapy.cn/staff/',
|
|
STORAGE_TOKEN_KEY: 'cashier:auth:token',
|
|
// 小程序代码可被反编译,密钥仅用于避免 token 明文落盘,不替代服务端的有效期与失效策略。
|
|
STORAGE_ENCRYPTION_KEY: 'cashier-storage-key-123018-v1-32'
|
|
} as const;
|
|
|
|
export const DEFAULT_MERCHANT = {
|
|
id: '',
|
|
name: '上海大观园',
|
|
background: '/static/cashier/merchant-bg.png',
|
|
accumulationRate: 0.04
|
|
} as const;
|