From 31ce48ba488a4e3e82d15660cd9e7ae3da9e9f7f Mon Sep 17 00:00:00 2001
From: 15179599649 <zhangyiyao89@qq.com>
Date: Fri, 26 Jan 2024 08:43:06 +0800
Subject: [PATCH] '时间状态修改'
---
src/views/login/index.vue | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/src/views/login/index.vue b/src/views/login/index.vue
index 588561e..51f61b0 100644
--- a/src/views/login/index.vue
+++ b/src/views/login/index.vue
@@ -93,20 +93,20 @@
const isValidcode = this.codecheck(this.Code);
const isValiduser = this.usernamecheck(this.username);
if (isValidcode && isValiduser) {
- // let Data = {
- // tenantId: "000000",
- // grant_type: "smsCode",
- // phone: this.username,
- // code: this.Code
- // };
let Data = {
tenantId: "000000",
- username: this.username,
- grant_type: "password",
- password: "94e8cde4612b3fd390677d42e7b22002",
- scope: "all",
- type: "account"
+ grant_type: "smsCode",
+ phone: this.username,
+ code: this.Code
};
+ // let Data = {
+ // tenantId: "000000",
+ // username: this.username,
+ // grant_type: "password",
+ // password: "94e8cde4612b3fd390677d42e7b22002",
+ // scope: "all",
+ // type: "account"
+ // };
Loginto(Data).then(res => {
if (res.data.code == 400) {
this.$toast.fail(res.data.msg);
--
Gitblit v1.9.3