From ebeebc8b3c97ed6bd66e6a326f75e8d12bc8b977 Mon Sep 17 00:00:00 2001
From: yswenli
Date: Sun, 15 Aug 2021 14:45:22 +0800
Subject: [PATCH] update
---
.../SAEA.WebRedisManager.csproj | 8 +++---
SAEA.WebRedisManager/wwwroot/Index.html | 2 +-
.../wwwroot/IndexContent.html | 6 +++++
SAEA.WebRedisManager/wwwroot/login.html | 26 ++++++++++++-------
4 files changed, 27 insertions(+), 15 deletions(-)
diff --git a/SAEA.WebRedisManager/SAEA.WebRedisManager.csproj b/SAEA.WebRedisManager/SAEA.WebRedisManager.csproj
index 5606e2a..db10a29 100644
--- a/SAEA.WebRedisManager/SAEA.WebRedisManager.csproj
+++ b/SAEA.WebRedisManager/SAEA.WebRedisManager.csproj
@@ -258,13 +258,13 @@
-
+
-
-
-
+
+
+
diff --git a/SAEA.WebRedisManager/wwwroot/Index.html b/SAEA.WebRedisManager/wwwroot/Index.html
index 7efb3de..efbdb7d 100644
--- a/SAEA.WebRedisManager/wwwroot/Index.html
+++ b/SAEA.WebRedisManager/wwwroot/Index.html
@@ -22,7 +22,7 @@
WebRedisManager
- v6.2.6.4
+ v6.2.6.6
+
+ v 6.2.6.6
+ 1.大幅度优化了SAEA.RedisSocket和SAEA.Mvc的性能
+ 2.取消了登录验证码
+ 3.调整了SAEA.Socket复用相关的细节
+
v 6.2.6.2
1.修复saea.sockets底层复用池
diff --git a/SAEA.WebRedisManager/wwwroot/login.html b/SAEA.WebRedisManager/wwwroot/login.html
index f762435..1167f1a 100644
--- a/SAEA.WebRedisManager/wwwroot/login.html
+++ b/SAEA.WebRedisManager/wwwroot/login.html
@@ -2,7 +2,7 @@
- login - WebRedisManager
+ login - SAEA.WebRedisManager
@@ -31,7 +31,7 @@ WebRedisManager
-
@@ -61,6 +61,12 @@ WebRedisManager
var layer = layui.layer, form = layui.form, $ = layui.$;
+ $.get("/user/authenticated", null, function (adata) {
+ if (adata.Code === 1 && adata.Data === true) {
+ location.href = "/";
+ }
+ });
+
$.get("/api/user/isempty", null, function (data) {
if (data.Code === 1) {
@@ -84,11 +90,11 @@ WebRedisManager
$("#loginBtn").click();
}
});
- $("#vercode").keypress(function (e) {
- if (e.which === 13) {
- $("#loginBtn").click();
- }
- });
+ //$("#vercode").keypress(function (e) {
+ // if (e.which === 13) {
+ // $("#loginBtn").click();
+ // }
+ //});
$("#loginBtn").click(function () {
@@ -110,7 +116,7 @@ WebRedisManager
}
else {
layer.msg('登录失败,' + data.Message, { offset: '15px', icon: 2, time: 3000, shade: 0.3, shadeClose: false }, null);
- $("#vercode-img").attr("src", "/api/Verification/index/4?t=" + new Date().getTime());
+ //$("#vercode-img").attr("src", "/api/Verification/index/4?t=" + new Date().getTime());
}
});
});