zhang
2023-12-14 d0df2b3177566caeef42e5e8ff8461708dd0575e
'修改登录'
2 files modified
6 ■■■■ changed files
src/api/hfiveget/index.js 4 ●●●● patch | view | raw | blame | history
src/views/login/index.vue 2 ●●● patch | view | raw | blame | history
src/api/hfiveget/index.js
@@ -25,8 +25,8 @@
//登录
export const Loginto = (params) => {
    return request({
        // url: "/api/blade-auth/oauth/token",
        url: '/api/blade-auth/oauth/token?tenantId=000000&username=' + params + '&password=21232f297a57a5a743894a0e4a801fc3&grant_type=password&scope=all&type=account',
        url: "/api/blade-auth/oauth/token",
        // url: '/api/blade-auth/oauth/token?tenantId=000000&username=' + params + '&password=21232f297a57a5a743894a0e4a801fc3&grant_type=password&scope=all&type=account',
        method: "post",
        apiKey: true,
        params: {
src/views/login/index.vue
@@ -87,7 +87,7 @@
          phone: this.username,
          code: this.Code
        };
        Loginto(Data.phone).then(res => {
        Loginto(Data).then(res => {
          if (res.data.code == 400) {
            this.$toast.fail(res.data.msg);
          } else {