修正 Entity Framework LINQ 查詢中的 .Date 屬性使用問題
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user