feat(assets): 资产页新增「应用」Tab + app 字段可搜

- 资产页 TABS 补 app 分类,新增应用列表(应用名/Bundle ID/分类/ICP 备案)+勾选/删除
- DSL 搜索白名单补 bundle_id/category/app_icp(原仅 app_name),前端搜索建议同步
- list/count 本就按 type 通用,app 自动适配;补齐后 app 资产可看/可搜/可删

Co-Authored-By: Claude Opus 4.8 <[email protected]>
This commit is contained in:
Autumn-27andClaude Opus 4.8 committed 2026-08-08 06:19:11 -04:00
1 parent 6d8fa5bc48
commit e01b659097
2 files changed
+54 -7

No files matched your search

+10 -7
View File
@@ -37,6 +37,9 @@ var knownStringFields = map[string]string{
"icp": "icp",
"service_name": "service_name",
"app_name": "app_name",
"bundle_id": "bundle_id",
"category": "category",
"app_icp": "app_icp",
"method": "method",
"service_type": "service_type",
"record_type": "record_type",
@@ -67,13 +70,13 @@ func isKnownField(f string) bool {
// ── tokeniser ────────────────────────────────────────────────────────────────
const (
tkField = "FIELD"
tkBare = "BARE"
tkAnd = "AND"
tkOr = "OR"
tkLP = "LPAREN"
tkRP = "RPAREN"
tkEOF = "EOF"
tkField = "FIELD"
tkBare = "BARE"
tkAnd = "AND"
tkOr = "OR"
tkLP = "LPAREN"
tkRP = "RPAREN"
tkEOF = "EOF"
)
type tok struct {