牌位排版調整

This commit is contained in:
2026-07-30 18:01:35 +08:00
parent cc85cb5bd7
commit 4b9448d548
6 changed files with 969 additions and 263 deletions
+17 -7
View File
@@ -1,4 +1,5 @@
using System;
using MINOM.COM.Utility;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
@@ -47,12 +48,21 @@ public class ezAuthorizeAttribute : AuthorizeAttribute
protected override bool IsAuthorized(HttpActionContext actionContext)
{
MyWeb.admin admin = new MyWeb.admin();
bool isLogin = admin.isLoign();
//if (admin.chkAdmIP && (admin.chkTwIP || admin.chkAdmIP_Enable)) { }
//判斷是否登入
if (!isLogin) {
return false;
try
{
MyWeb.admin admin = new MyWeb.admin();
bool isLogin = admin.isLoign();
//if (admin.chkAdmIP && (admin.chkTwIP || admin.chkAdmIP_Enable)) { }
//判斷是否登入
if (!isLogin)
{
return false;
}
}
catch (Exception ex)
{
LogUtility log = new LogUtility();
log.writeErrorPath(ex.ToString()+ex.StackTrace);
}
/*
if (actionContext == null)