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/外键)
30 lines
825 B
JSON
30 lines
825 B
JSON
{
|
|
"appcodes": [
|
|
{
|
|
"parentid": "distributor_status",
|
|
"parentname": "分销商状态",
|
|
"items": [
|
|
{"k": "active", "v": "活跃"},
|
|
{"k": "suspended", "v": "暂停"},
|
|
{"k": "terminated", "v": "终止"}
|
|
]
|
|
},
|
|
{
|
|
"parentid": "markup_type",
|
|
"parentname": "加价方式",
|
|
"items": [
|
|
{"k": "fixed", "v": "固定加价"},
|
|
{"k": "percentage", "v": "百分比加价"}
|
|
]
|
|
},
|
|
{
|
|
"parentid": "dp_status",
|
|
"parentname": "分销产线状态",
|
|
"items": [
|
|
{"k": "enabled", "v": "已启用"},
|
|
{"k": "disabled", "v": "已停用"}
|
|
]
|
|
}
|
|
]
|
|
}
|