linwe
2024-05-21 5c11e8e607ba9a40f5c3e5ebd4ba14a53eae2226
src/api/user.js
@@ -8,16 +8,18 @@
    'Tenant-Id': tenantId,
    'Dept-Id': (website.switchMode ? deptId : ''),
    'Role-Id': (website.switchMode ? roleId : ''),
    'Captcha-Key': key,
    'Captcha-Code': code,
    // 'Captcha-Key': key,
    // 'Captcha-Code': code,
  },
  params: {
    tenantId,
    username,
    password,
    grant_type: (website.captchaMode ? "captcha" : "password"),
    grant_type:"password",
    scope: "all",
    type
    type,
    // 查全部-暂定
    loginType:1
  }
});