15179599649
2024-01-10 5c9f5dc34c78b8b6fc37f8fbe0985e677a8831c2
'修改验证码登录'
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=94e8cde4612b3fd390677d42e7b22002&grant_type=password&scope=all&type=account',
        url: "/api/blade-auth/oauth/token",
        // url: '/api/blade-auth/oauth/token?tenantId=000000&username=' + params + '&password=94e8cde4612b3fd390677d42e7b22002&grant_type=password&scope=all&type=account',
        method: "post",
        apiKey: true,
        params: {
src/views/login/index.vue
@@ -98,7 +98,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 if (res.data.code == 500) {