From d0df2b3177566caeef42e5e8ff8461708dd0575e Mon Sep 17 00:00:00 2001
From: zhang <9170731+weqfer@user.noreply.gitee.com>
Date: Thu, 14 Dec 2023 10:53:10 +0800
Subject: [PATCH] '修改登录'

---
 src/api/hfiveget/index.js |    4 ++--
 src/views/login/index.vue |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/api/hfiveget/index.js b/src/api/hfiveget/index.js
index b828971..5ad2cbe 100644
--- a/src/api/hfiveget/index.js
+++ b/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: {
diff --git a/src/views/login/index.vue b/src/views/login/index.vue
index dbe78a0..9bc2997 100644
--- a/src/views/login/index.vue
+++ b/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 {

--
Gitblit v1.9.3