diff --git a/.env b/.env index 942b3fb..c1f93a3 100644 --- a/.env +++ b/.env @@ -4,7 +4,7 @@ VUE_APP_TOKEN_KEY=token #前端项目路径地址 VUE_APP_PUBLICPATH= -VUE_APP_SYSTEM_TITLE=广州市市场监督管理局信用监管综合系统 +VUE_APP_SYSTEM_TITLE=内蒙古自治区市场监督管理局信用监管综合系统 VUE_APP_SYSTEM_TITLE_LOGIN=信用监管综合系统 # 信创门户cas地址 diff --git a/src/api/user.js b/src/api/user.js index 9195a20..0e706d0 100644 --- a/src/api/user.js +++ b/src/api/user.js @@ -64,15 +64,16 @@ export function casLogin(params) { */ export function logManage(params) { return request({ - url: process.env.VUE_APP_AICEPS_URL + '/loginManageController/loginManage.do', + url: '/gz-aiceps-manage/loginManageController/loginManage.do', method: 'get', params }) } -export function getCode(phone) { +export function getCode(phone, captcha) { const params = new FormData() params.append('phone', phone) + params.append('captcha', captcha) return request({ url: '/aiccs-api/user/getCode', method: 'post', @@ -80,10 +81,11 @@ export function getCode(phone) { }) } -export function loginByCode(phone, code) { +export function loginByCode(phone, code, captchadl) { const params = new FormData() params.append('phone', phone) params.append('code', code) + params.append('captchadl', captchadl) return request({ url: '/aiccs-api/user/loginByCode', method: 'post', @@ -91,6 +93,18 @@ export function loginByCode(phone, code) { }) } +export function loginByPwd(phone, code, captchadl) { + const params = new FormData() + params.append('phone', phone) + params.append('code', code) + params.append('captchadl', captchadl) + return request({ + url: '/aiccs-api/user/loginByPwd', + method: 'post', + data: params + }) +} + /** * 统一门户单点登录 ticket */ @@ -102,6 +116,17 @@ export function casLogin_Unite(params) { }) } +/** + * 统一门户单点登录 ticket + */ +export function casLogin_LangChao(params) { + return request({ + url: '/aiccs-api/user/casLogin_LangChao', + method: 'get', + params + }) +} + /** * 统一门户单点登录 ticket */ diff --git a/src/layout/index.vue b/src/layout/index.vue index aff05da..109caf4 100644 --- a/src/layout/index.vue +++ b/src/layout/index.vue @@ -9,7 +9,7 @@ -