account_resource/json/acctres_spec.json
ymq 71576381bd feat: account_resource 资源模块
参照 llmage 范式(llm主表无ppid + llm_api_map挂ppid + llmusage计费六件套):
- 资源主表不带 ppid,定价挂在「资源×用法」映射表上
- 对外统一 resolve_ppid(resource_ref_id, ctx),load 时注册到产品层解析器注册表
- 含 models 四段式/json CRUD/i18n四语言/load_path/init 种子数据
2026-08-26 14:51:27 +08:00

95 lines
2.3 KiB
JSON

{
"tblname": "acctres_spec",
"params": {
"title": "账号规格",
"browserfields": [
{
"field": "spec_code",
"title": "规格编码"
},
{
"field": "spec_name",
"title": "规格名称"
},
{
"field": "spec_type",
"title": "规格类型"
},
{
"field": "workspace_max",
"title": "可建工作空间数"
},
{
"field": "workspace_gb",
"title": "赠送容量GB"
},
{
"field": "concurrent_task",
"title": "并发任务数"
},
{
"field": "gpu_allowed",
"title": "允许GPU"
},
{
"field": "status",
"title": "状态"
}
],
"editfields": [
{
"field": "spec_code",
"uitype": "Text"
},
{
"field": "spec_name",
"uitype": "Text"
},
{
"field": "spec_type",
"uitype": "Text"
},
{
"field": "description",
"uitype": "Text"
},
{
"field": "workspace_max",
"uitype": "Text"
},
{
"field": "workspace_gb",
"uitype": "Text"
},
{
"field": "concurrent_task",
"uitype": "Text"
},
{
"field": "gpu_allowed",
"uitype": "Text"
},
{
"field": "member_max",
"uitype": "Text"
},
{
"field": "privilege_json",
"uitype": "Text"
},
{
"field": "sort_order",
"uitype": "Text"
},
{
"field": "status",
"uitype": "Text"
}
],
"searchfields": [
"spec_code",
"spec_name"
]
}
}