uniapps/work-wx/src/api/user/index.js
@@ -26,7 +26,7 @@ // 用户登录接口 export const loginByUsername = (tenantId, deptId, roleId, username, password, type, key, code) => { return request({ url: '/blade-auth/oauth/token', url: '/auth/login', method: 'post', header: { 'Tenant-Id': tenantId, @@ -35,10 +35,12 @@ 'Captcha-Key': key, 'Captcha-Code': code, }, params: { data: { tenantId, username, password, checkCode:'', mobile: false, grant_type: 'password', scope: 'all', type,