config.js 634 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://127.0.0.1:8080',
duanledexianxianxian's avatar
duanledexianxianxian committed
5 6
  storeNameSpace: 'kim',
  headers: () => ({
duanledexianxianxian's avatar
duanledexianxianxian committed
7
    Authorization:
duanledexianxianxian's avatar
sync  
duanledexianxianxian committed
8
      'eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOjMzLCJ1c24iOiLmrKfpmLPljZrlrofmrKfpmLPljZrlrofmrKfpmLPljZrlrofmrKfpmLPljZrlrofmrKfpmLPljZrlrofmrKfpmLPljZrlrofmrKfpmLPljZrlrociLCJzdGEiOjE1NjE0MzAzMzI4NzQsImxpZCI6Im91eWFuZ2JveXUifQ.209scGXfvjPj7KgvXhzrI4ciHg6aTDt8LQ1Z2Nw-ZxA',
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,
duanledexianxianxian's avatar
duanledexianxianxian committed
14
};