config.js 767 Bytes
Newer Older
duanledexianxianxian's avatar
duanledexianxianxian committed
1 2 3
// import store from './utils/store';

export default {
duanledexianxianxian's avatar
duanledexianxianxian committed
4
  baseUrl: 'http://platform.kuopu.net:9080',
duanledexianxianxian's avatar
duanledexianxianxian committed
5 6
  storeNameSpace: 'kim',
  headers: () => ({
duanledexianxianxian's avatar
duanledexianxianxian committed
7
    Authorization:
duanledexianxianxian's avatar
duanledexianxianxian committed
8
      'eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOjMzLCJ1c24iOiLmrKfpmLPljZrlrofmrKfpmLPljZrlrofmrKfpmLPljZrlrofmrKfpmLPljZrlrofmrKfpmLPljZrlrofmrKfpmLPljZrlrofmrKfpmLPljZrlrociLCJzdGEiOjE1NjE2MDE3ODA3NDksImxpZCI6Im91eWFuZ2JveXUifQ.PY2oCcc9ESRVw2UmAnvZddgrl6Ycn2462L7xvI4FCLY',
duanledexianxianxian's avatar
duanledexianxianxian committed
9
  }),
duanledexianxianxian's avatar
duanledexianxianxian committed
10 11
  resCodeKey: 'code', // 后台正常返回错误编码
  resMessageKey: 'message', // 后台正常返回错误编码
duanledexianxianxian's avatar
duanledexianxianxian committed
12
  successCode: 'sys.success', // 后台正常返回错误编码
duanledexianxianxian's avatar
duanledexianxianxian committed
13
  isThrowError: true, // 默认为true
duanledexianxianxian's avatar
duanledexianxianxian committed
14
  copyright: `${new Date().getFullYear()} KIM3.0技术中台部出品`,
duanledexianxianxian's avatar
duanledexianxianxian committed
15
  homePage: '/dashboard/analysis',
duanledexianxianxian's avatar
duanledexianxianxian committed
16
};