参照 llmage 范式(llm主表无ppid + llm_api_map挂ppid + llmusage计费六件套): - 资源主表不带 ppid,定价挂在「资源×用法」映射表上 - 对外统一 resolve_ppid(resource_ref_id, ctx),load 时注册到产品层解析器注册表 - 含 models 四段式/json CRUD/i18n四语言/load_path/init 种子数据
36 lines
1.1 KiB
JSON
36 lines
1.1 KiB
JSON
{
|
||
"storres_spec": [
|
||
{
|
||
"spec_code": "WS-STORAGE-STD",
|
||
"spec_name": "工作空间标准存储",
|
||
"storage_class": "standard",
|
||
"min_gb": 1,
|
||
"step_gb": 1,
|
||
"capacity_total": -1,
|
||
"capacity_used": 0,
|
||
"backup_enabled": "0",
|
||
"sort_order": 10,
|
||
"status": "active",
|
||
"description": "工作空间容量,按 GB月 计费"
|
||
}
|
||
],
|
||
"storres_pricing_map": [
|
||
{
|
||
"spec_code": "WS-STORAGE-STD",
|
||
"meter_mode": "ondemand",
|
||
"meter_unit": "GB月",
|
||
"settle_period": "month",
|
||
"is_default": "1",
|
||
"ppid": ""
|
||
},
|
||
{
|
||
"spec_code": "WS-STORAGE-STD",
|
||
"meter_mode": "package",
|
||
"meter_unit": "GB月",
|
||
"settle_period": "month",
|
||
"is_default": "0",
|
||
"ppid": ""
|
||
}
|
||
],
|
||
"_note": "ppid 待建定价项目后回填;meter_mode 是本模块的 ppid 挂载维度(与账号按 charge_mode 不同)"
|
||
} |