antd-admin icon indicating copy to clipboard operation
antd-admin copied to clipboard

公司有自己的后台,怎样可以用公司的真实数据和这套模板结合

Open yanghong1105 opened this issue 9 years ago • 2 comments

yanghong1105 avatar May 09 '17 06:05 yanghong1105

  1. 用Nginx将真实接口代理项目中的接口
  2. 项目中有个src/config.js可以配置使用的接口

zuiidea avatar May 09 '17 07:05 zuiidea

utils/config.js中的这些地址吗? baseURL: 'http://localhost:8000/api/v1', YQL: ['http://www.zuimeitianqi.com'], CORS: ['http://localhost:7000'], openPages: ['/login'], apiPrefix: '/api/v1', api: { userLogin: '/user/login', userLogout: '/user/logout', userInfo: '/userInfo', users: '/users', user: '/user/:id', dashboard: '/dashboard',

yanghong1105 avatar May 09 '17 07:05 yanghong1105