修正 Entity Framework LINQ 查詢中的 .Date 屬性使用問題

This commit is contained in:
2025-11-12 21:33:52 +08:00
parent b04c07a5eb
commit 4fcbfb3801
5 changed files with 33 additions and 17 deletions

View File

@@ -266,10 +266,10 @@ public partial class admin_index : MyWeb.function
if (myip != "127.0.0.1")
{
myip = Request.UserHostAddress;
if (g_name.ToUpper() == "EZ" & myip != "211.20.239.58")
{
return "禁止登入";
}
//if (g_name.ToUpper() == "EZ" & myip != "***.***.***.***")
//{
// return "禁止登入";
//}
}
string login_code = function.randCode(10);