参照 llmage 范式(llm主表无ppid + llm_api_map挂ppid + llmusage计费六件套): - 资源主表不带 ppid,定价挂在「资源×用法」映射表上 - 对外统一 resolve_ppid(resource_ref_id, ctx),load 时注册到产品层解析器注册表 - 含 models 四段式/json CRUD/i18n四语言/load_path/init 种子数据
71 lines
1.7 KiB
JSON
71 lines
1.7 KiB
JSON
{
|
|
"tblname": "acctres_pricing_map",
|
|
"params": {
|
|
"title": "账号定价映射",
|
|
"browserfields": [
|
|
{
|
|
"field": "spec_id",
|
|
"title": "规格ID"
|
|
},
|
|
{
|
|
"field": "charge_mode",
|
|
"title": "计费方式"
|
|
},
|
|
{
|
|
"field": "charge_unit",
|
|
"title": "计费单位"
|
|
},
|
|
{
|
|
"field": "valid_days",
|
|
"title": "有效天数"
|
|
},
|
|
{
|
|
"field": "ppid",
|
|
"title": "定价项目ID"
|
|
},
|
|
{
|
|
"field": "is_default",
|
|
"title": "缺省方式"
|
|
},
|
|
{
|
|
"field": "status",
|
|
"title": "状态"
|
|
}
|
|
],
|
|
"editfields": [
|
|
{
|
|
"field": "spec_id",
|
|
"uitype": "Text"
|
|
},
|
|
{
|
|
"field": "charge_mode",
|
|
"uitype": "Text"
|
|
},
|
|
{
|
|
"field": "charge_unit",
|
|
"uitype": "Text"
|
|
},
|
|
{
|
|
"field": "valid_days",
|
|
"uitype": "Text"
|
|
},
|
|
{
|
|
"field": "ppid",
|
|
"uitype": "Text"
|
|
},
|
|
{
|
|
"field": "is_default",
|
|
"uitype": "Text"
|
|
},
|
|
{
|
|
"field": "status",
|
|
"uitype": "Text"
|
|
}
|
|
],
|
|
"searchfields": [
|
|
"spec_id",
|
|
"charge_mode"
|
|
]
|
|
}
|
|
}
|