|
@@ -3,14 +3,16 @@ const APIV2 = '/api/v2'
|
|
const APIV3 = 'http://119.130.113.245:8004'
|
|
const APIV3 = 'http://119.130.113.245:8004'
|
|
const JAPIV = 'http://119.130.113.245:8005'
|
|
const JAPIV = 'http://119.130.113.245:8005'
|
|
const APIV4 = 'http://119.130.113.245:8005'
|
|
const APIV4 = 'http://119.130.113.245:8005'
|
|
|
|
+const APIV3Auth = 'http://119.130.113.245:8030'
|
|
|
|
+const WXAPIV5= 'http://219.128.77.86:7000'
|
|
module.exports = {
|
|
module.exports = {
|
|
- name: '亮健会员中心',
|
|
|
|
|
|
+ name: '亮健会员系统管理',
|
|
prefix: 'bird',
|
|
prefix: 'bird',
|
|
footerText: 'bird admin © 2018 360lj.com',
|
|
footerText: 'bird admin © 2018 360lj.com',
|
|
logo: '/logo.svg',
|
|
logo: '/logo.svg',
|
|
iconFontCSS: '/iconfont.css',
|
|
iconFontCSS: '/iconfont.css',
|
|
iconFontJS: '/iconfont.js',
|
|
iconFontJS: '/iconfont.js',
|
|
- CORS: ['http://119.27.191.247:80','http://localhost:57251','http://localhost:8000',
|
|
|
|
|
|
+ CORS: ['http://119.27.191.247:80','http://localhost:57251','http://localhost:8000','http://119.130.113.245:8030','http://219.128.77.86:7000',
|
|
'http://localhost:8001','http://localhost:8002','http://localhost:8003',
|
|
'http://localhost:8001','http://localhost:8002','http://localhost:8003',
|
|
'http://coop.360lj.com:8004','http://coop.360lj.com:8005',
|
|
'http://coop.360lj.com:8004','http://coop.360lj.com:8005',
|
|
'https://localhost','https://coop.360lj.com',' https://localhost:44351',
|
|
'https://localhost','https://coop.360lj.com',' https://localhost:44351',
|
|
@@ -20,26 +22,38 @@ module.exports = {
|
|
openPages: ['/login','/'],
|
|
openPages: ['/login','/'],
|
|
apiPrefix: '/api/v1',
|
|
apiPrefix: '/api/v1',
|
|
webApiPrefix:APIV3,
|
|
webApiPrefix:APIV3,
|
|
|
|
+ authApiPrefix: APIV3Auth,
|
|
APIV1,
|
|
APIV1,
|
|
APIV2,
|
|
APIV2,
|
|
APIV3,
|
|
APIV3,
|
|
|
|
+ APIV3Auth,
|
|
APIV4,
|
|
APIV4,
|
|
|
|
+ WXAPIV5,
|
|
|
|
+ ClientId:'f3ed0d90-3fc8-4eba-b83c-a0cfe54c174d',
|
|
|
|
+ ClientSecret:'78e238b4-c199-49ad-b619-69b6a78959d8',
|
|
|
|
+ ApplicationKey:'test',
|
|
color:{
|
|
color:{
|
|
success:'#52c41a',
|
|
success:'#52c41a',
|
|
warn:'#E6A23C',
|
|
warn:'#E6A23C',
|
|
error:'#ff4d4f'
|
|
error:'#ff4d4f'
|
|
},
|
|
},
|
|
api: {
|
|
api: {
|
|
- userLogin: `${APIV3}/web/login/index`,
|
|
|
|
- userLogout: `${APIV3}/web/login/logout`,
|
|
|
|
|
|
+ // userLogin: `${APIV3}/web/login/index`,
|
|
|
|
+ userLogin: `${APIV3Auth}/ums/oauth2/accessToken?grant_type=password`,
|
|
|
|
+ // userLogout: `${APIV3}/web/login/logout`,
|
|
|
|
+ userLogout: `${APIV3Auth}/web/login/logout`,
|
|
//menus: `${APIV1}/menus`,
|
|
//menus: `${APIV1}/menus`,
|
|
- menus: `${APIV3}/web/auth/menus`,
|
|
|
|
|
|
+ // menus: `${APIV3}/web/auth/menus`,
|
|
|
|
+ menus: `${APIV3Auth}/ums/oauth2/list/permission`,//?types=1 两种菜单类型 顶部菜单和左侧菜单
|
|
getDic:`${APIV1}/getdic?key=`,
|
|
getDic:`${APIV1}/getdic?key=`,
|
|
|
|
+
|
|
upload:`${APIV3}/web/upload/uploadprofile`,
|
|
upload:`${APIV3}/web/upload/uploadprofile`,
|
|
//getFileName:`/file/getName?url=`,
|
|
//getFileName:`/file/getName?url=`,
|
|
getFileName:`${APIV3}/`,
|
|
getFileName:`${APIV3}/`,
|
|
- getOperationToken:`${APIV3}/web/login/getOperationToken`,
|
|
|
|
- permissions:`${APIV3}/web/auth/permissions`
|
|
|
|
|
|
+ // getOperationToken:`${APIV3}/web/login/getOperationToken`,
|
|
|
|
+ getOperationToken: `${APIV3Auth}/ums/oauth2/accessToken?grant_type=refresh_token`,
|
|
|
|
+ // permissions:`${APIV3}/web/auth/permissions`
|
|
|
|
+ permissions:`${APIV3Auth}/ums/oauth2/list/permission?types=2`,
|
|
},
|
|
},
|
|
JAPIV,
|
|
JAPIV,
|
|
}
|
|
}
|