config.js 638 Bytes
Newer Older
duanledexianxianxian's avatar
duanledexianxianxian committed
1 2
export default {
  storeNameSpace: 'kim',
duanledexianxianxian's avatar
duanledexianxianxian committed
3 4
  request: {
    apiPrefix: '',
duanledexianxianxian's avatar
duanledexianxianxian committed
5
    baseUrl: 'http://127.0.0.1:8080',
duanledexianxianxian's avatar
duanledexianxianxian committed
6 7 8 9
    resCodeKey: 'code', // 后台正常返回错误编码
    resMessageKey: 'message', // 后台正常返回错误编码
    successCode: 'sys.success', // 后台正常返回错误编码
    isThrowError: true, // 默认为true
duanledexianxianxian's avatar
duanledexianxianxian committed
10 11
    authCodes: ['system.authc'],
    apiType: 0, // 接口模式0-code 模式 1-stauts模式
duanledexianxianxian's avatar
duanledexianxianxian committed
12
  },
duanledexianxianxian's avatar
duanledexianxianxian committed
13
  copyright: `${new Date().getFullYear()} KIM3.0技术中台部出品`,
duanledexianxianxian's avatar
duanledexianxianxian committed
14
  homePage: '/dashboard/analysis',
duanledexianxianxian's avatar
duanledexianxianxian committed
15
  fileServerUrl: 'http://127.0.0.1:8080',
duanledexianxianxian's avatar
duanledexianxianxian committed
16
  defaultAvatar: '/images/default-avatar.png',
duanledexianxianxian's avatar
duanledexianxianxian committed
17
};