From d96f28993db5d9d4c3f2ac25b9e9a84fa6857dc2 Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期四, 31 八月 2023 11:15:13 +0800
Subject: [PATCH] 更新版本

---
 management/guns-admin/src/main/resources/application.yml      |    8 ++++----
 management/guns-admin/src/main/webapp/WEB-INF/view/login.html |    4 ++--
 management/guns-admin/src/main/resources/redis.properties     |   20 ++++++++++----------
 3 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/management/guns-admin/src/main/resources/application.yml b/management/guns-admin/src/main/resources/application.yml
index d09fe0f..cf84684 100644
--- a/management/guns-admin/src/main/resources/application.yml
+++ b/management/guns-admin/src/main/resources/application.yml
@@ -15,8 +15,8 @@
 
 spring:
   profiles:
-    active: dev
-#    active: produce
+#    active: dev
+    active: produce
   mvc:
     static-path-pattern: /static/**
     view:
@@ -52,8 +52,8 @@
   datasource:
     url: jdbc:mysql://127.0.0.1:3306/super_save_driving?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=GMT%2B8
     username: root
-#    password: f4OfRjqoN3jSiNGiUoiNsQdOBtCOKYRj
-    password: 123456
+    password: f4OfRjqoN3jSiNGiUoiNsQdOBtCOKYRj
+#    password: 123456
     db-name: super_save_driving #用来搜集数据库的所有表
     filters: wall,mergeStat
 
diff --git a/management/guns-admin/src/main/resources/redis.properties b/management/guns-admin/src/main/resources/redis.properties
index 281727d..dd5b9cd 100644
--- a/management/guns-admin/src/main/resources/redis.properties
+++ b/management/guns-admin/src/main/resources/redis.properties
@@ -2,19 +2,19 @@
 # Redis���ݿ�������Ĭ��Ϊ0��
 spring.redis.database=0
 
-## Redis��������ַ
-#spring.redis.host=127.0.0.1
-## Redis���������Ӷ˿�
-#spring.redis.port=16379
-## Redis�������������루Ĭ��Ϊ�գ�
-#spring.redis.password=cKsEeyffDXG5PzNg8CIbrWxFluXrCprZ
-
-#Redis��������ַ
+# Redis��������ַ
 spring.redis.host=127.0.0.1
 # Redis���������Ӷ˿�
-spring.redis.port=6379
+spring.redis.port=16379
 # Redis�������������루Ĭ��Ϊ�գ�
-spring.redis.password=123456
+spring.redis.password=cKsEeyffDXG5PzNg8CIbrWxFluXrCprZ
+
+##Redis��������ַ
+#spring.redis.host=127.0.0.1
+## Redis���������Ӷ˿�
+#spring.redis.port=6379
+## Redis�������������루Ĭ��Ϊ�գ�
+#spring.redis.password=123456
 
 # ���ӳ������������ʹ�ø�ֵ��ʾû�����ƣ�
 spring.redis.jedis.pool.max-active=1024
diff --git a/management/guns-admin/src/main/webapp/WEB-INF/view/login.html b/management/guns-admin/src/main/webapp/WEB-INF/view/login.html
index 4477d15..0b73180 100644
--- a/management/guns-admin/src/main/webapp/WEB-INF/view/login.html
+++ b/management/guns-admin/src/main/webapp/WEB-INF/view/login.html
@@ -64,11 +64,11 @@
         <form class="m-t" role="form" action="${ctxPath}/login" method="post">
             <div class="item">
                 <img src="${ctxPath}/static/img/account.png" />
-                <input class="itemInput" type="text" name="username" id="username"  placeholder="请输入您的账号" required="" value="admin">
+                <input class="itemInput" type="text" name="username" id="username"  placeholder="请输入您的账号" required="" value="">
             </div>
             <div  class="item">
                 <img src="${ctxPath}/static/img/password.png" />
-                <input class="itemInput" type="password" name="password" id="password"  placeholder="请输入您的密码" required="" value="111111">
+                <input class="itemInput" type="password" name="password" id="password"  placeholder="请输入您的密码" required="" value="">
             </div>
             <div id="verify" style="display: none">
                     @if(kaptcha.getKaptchaOnOff() == true){

--
Gitblit v1.7.1