From c9cd8d8cb06e1fab173b5e63ec7ad376a5c7a53b Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Mon, 06 May 2024 14:28:38 +0800
Subject: [PATCH] 修改统一认证

---
 src/config/website.js    |    2 +-
 src/lang/zh.js           |    4 ++--
 src/page/login/index.vue |   10 +++++-----
 vue.config.js            |    2 +-
 src/api/user.js          |    4 +---
 5 files changed, 10 insertions(+), 12 deletions(-)

diff --git a/src/api/user.js b/src/api/user.js
index 1969867..3c146cf 100644
--- a/src/api/user.js
+++ b/src/api/user.js
@@ -17,9 +17,7 @@
     password,
     grant_type:"password",
     scope: "all",
-    type,
-    // 查全部-暂定
-    loginType:1
+    type
   }
 });
 
diff --git a/src/config/website.js b/src/config/website.js
index 9233279..a8500f4 100644
--- a/src/config/website.js
+++ b/src/config/website.js
@@ -5,7 +5,7 @@
   title: "sword",
   logo: "J",
   key: "sword", //配置主键,目前用于存储
-  indexTitle: "基层智治综合协同平台",
+  indexTitle: "统一认证平台",
   clientId: "sword", // 客户端id
   clientSecret: "sword_secret", // 客户端密钥
   tenantMode: true, // 是否开启租户模式
diff --git a/src/lang/zh.js b/src/lang/zh.js
index 2c7994b..595ddb6 100644
--- a/src/lang/zh.js
+++ b/src/lang/zh.js
@@ -1,5 +1,5 @@
 export default {
-  title: "基层智治综合协同平台",
+  title: "统一认证平台",
   logoutTip: "退出系统, 是否继续?",
   submitText: "确定",
   cancelText: "取消",
@@ -78,7 +78,7 @@
   },
   login: {
     title: "登录 ",
-    info: "基层智治综合协同平台",
+    info: "统一认证平台",
     tenantId: "请输入租户ID",
     username: "请输入账号",
     password: "请输入密码",
diff --git a/src/page/login/index.vue b/src/page/login/index.vue
index 2dc2bd4..75db0e1 100644
--- a/src/page/login/index.vue
+++ b/src/page/login/index.vue
@@ -8,7 +8,7 @@
                 </div>
                 <!-- <img class="img" src="/img/logo.png" alt=""> -->
                 <!-- <p class="title">{{ $t('login.info') }}</p> -->
-                <p class="title">基层智治综合协同平台</p>
+                <p class="title">统一认证平台</p>
             </div>
             <div class="login-border">
                 <!-- <img class="img" src="/img/logo.png" alt=""> -->
@@ -21,12 +21,12 @@
                     <userLogin v-if="activeName === 'user'"></userLogin>
                     <!-- <codeLogin v-else-if="activeName==='code'"></codeLogin> -->
                     <thirdLogin v-else-if="activeName==='third'"></thirdLogin>
-                    <div class="login-menu">
+                    <!-- <div class="login-menu">
                         <a href="#" @click.stop="activeName='user'">{{ $t('login.userLogin') }}</a>
                         <a href="#" @click.stop="activeName='code'">{{ $t('login.phoneLogin') }}</a>
                         <a href="#" @click.stop="activeName='third'">{{ $t('login.thirdLogin') }}</a>
                         <a :href="website.ssoUrl + website.redirectUri">{{ $t('login.ssoLogin') }}</a>
-                    </div>
+                    </div> -->
                 </div>
 
             </div>
@@ -73,10 +73,10 @@
         }
     },
     created () {
-        document.title = "基层智治综合协同平台"
+        document.title = "统一认证平台"
         setStore({
             name: "webTitle",
-            content: '基层智治综合协同平台',
+            content: '统一认证平台',
         })
 
         setStore({
diff --git a/vue.config.js b/vue.config.js
index ba231d1..59783b5 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -38,7 +38,7 @@
         proxy: {
             "/api": {
                 //本地服务接口地址
-                target:"http://192.168.1.50:8110/",
+                target:"http://192.168.1.50:8110",
                 // target: "https://srgdjczzxtpt.com:2080/api",
                 // target: "https://kt39592615.goho.co",
                 // target: "http://z4042833u6.wicp.vip",

--
Gitblit v1.9.3