All files config.ts

0% Statements 0/0
0% Branches 0/0
0% Functions 0/0
0% Lines 0/0

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19                                     
import { Envs } from './type'
 
export default {
  SECRET: 'bbg_520', // aes密钥(明文?别怕,只是混淆一下,并不是加密)
  EXPIRE_TIME: 20 * 1000, // 加密后的过期时间
  // sso域名
  SSO_HOST_MAP: new Map([
    [Envs.Dev, 'http://sso-dev.tenclass.com'],
    [Envs.Stage, 'http://sso-stage.tenclass.com'],
    [Envs.Prod, 'https://sso.tenclass.com'],
  ]),
  // 默认渠道APPID
  DEFAULT_SOURCE_APPID_MAP: new Map([
    [Envs.Dev, 'wxcbe0b45239b54fbb'], // 芦荟听书
    [Envs.Stage, 'wx5dc26b8cec8387a0'], // 墨隐书斋
    [Envs.Prod, 'wx8f8ccf7bb8acf314'], // 广通职场课
  ]),
}