搜尋身份證號, 電話功能選項

This commit is contained in:
2025-12-26 01:46:07 +08:00
parent 2d3fb23c7b
commit c2a3c0e5bf
16 changed files with 528 additions and 154 deletions

View File

@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Web;
@@ -9,4 +10,19 @@ using System.Web;
public static class GlobalVariables
{
// FNumberLock 已移除,因為改用資料庫直接取號,不再需要 Application 狀態鎖定
/// <summary>
/// 是否啟用 search_keywords 搜尋功能
/// </summary>
public static bool UseSearchKeywords
{
get
{
string configValue = ConfigurationManager.AppSettings["UseSearchKeywords"];
if (string.IsNullOrEmpty(configValue))
return false;
return configValue.Equals("true", StringComparison.OrdinalIgnoreCase);
}
}
}