pipeline-core: - pipelines.json codes cond: id -> parentid pipeline-ops: - init/data.json: 转为Format B(parentid/parentname/items) - pipeline_pricing.json: +4 codes(pricing_type/currency/status/pipeline_id) - pipeline_capacity.json: +2 codes(capacity_status/pipeline_id) - pipeline_usage_log.json: +2 codes(usage_status/pipeline_id) pipeline-dist: - init/data.json: 转为Format B(parentid/parentname/items) - distributors.json: +1 code(distributor_status) - distributor_pipeline.json: +4 codes(markup_type/dp_status/外键)
49 lines
1.4 KiB
JSON
49 lines
1.4 KiB
JSON
{
|
|
"appcodes": [
|
|
{
|
|
"parentid": "pricing_type",
|
|
"parentname": "计费类型",
|
|
"items": [
|
|
{"k": "per_call", "v": "按次计费"},
|
|
{"k": "per_token", "v": "按Token计费"},
|
|
{"k": "subscription", "v": "订阅制"}
|
|
]
|
|
},
|
|
{
|
|
"parentid": "pricing_status",
|
|
"parentname": "定价状态",
|
|
"items": [
|
|
{"k": "active", "v": "生效中"},
|
|
{"k": "expired", "v": "已过期"},
|
|
{"k": "pending", "v": "待生效"}
|
|
]
|
|
},
|
|
{
|
|
"parentid": "capacity_status",
|
|
"parentname": "供应量状态",
|
|
"items": [
|
|
{"k": "active", "v": "正常"},
|
|
{"k": "paused", "v": "已暂停"},
|
|
{"k": "exhausted", "v": "已耗尽"}
|
|
]
|
|
},
|
|
{
|
|
"parentid": "usage_status",
|
|
"parentname": "使用状态",
|
|
"items": [
|
|
{"k": "success", "v": "成功"},
|
|
{"k": "failed", "v": "失败"},
|
|
{"k": "timeout", "v": "超时"}
|
|
]
|
|
},
|
|
{
|
|
"parentid": "currency",
|
|
"parentname": "货币类型",
|
|
"items": [
|
|
{"k": "CNY", "v": "人民币"},
|
|
{"k": "USD", "v": "美元"}
|
|
]
|
|
}
|
|
]
|
|
}
|