reallife_asset/models/rl_vendor_config.json
yumoqing a21eabbb11 refactor(reallife_asset): uapi网关架构重构 + UI全面修复
架构变更:
- 废弃volcengine_client.py直连,改为通过Sage uapi网关调用供应商API
- rl_vendor_config表新增upappid和api_mapping(JSON)字段
- 新增_call_vendor()统一路由: vendor→upappid→apiname→UpAppApi.call()
- 支持多供应商灵活映射,各家API数量/逻辑不同通过api_mapping配置

管理端UI:
- vendor_config_manage.ui: Tabular列表展示供应商配置
- vendor_config_edit.ui: 供应商配置编辑页(AK/SK通过upapp/upappkey管理)
- org_group_manage.ui: 机构映射管理页
- 新增api/get_upapp_list.dspy获取上位系统下拉选项
- 新增api/get_status_list.dspy获取状态下拉选项

客户端UI:
- create_validate.ui: 真人认证页面,支持选择供应商创建H5认证
- upload_asset.ui: 上传素材页面,支持URL/base64上传
- index.ui: 新增客户端入口卡片(真人认证、上传素材)
- 所有Form字段使用正确uitype(code/str/text),确保可输入

清理:
- 废弃rl_app_user表,统一使用rl_asset_group+rl_org_group
- 简化API签名,去除冗余apikey/secretkey透传
2026-05-28 18:49:46 +08:00

76 lines
1.7 KiB
JSON

{
"summary": [
{
"name": "rl_vendor_config",
"title": "供应商配置",
"primary": ["id"]
}
],
"fields": [
{
"name": "id",
"title": "主键",
"type": "str",
"length": 32,
"nullable": "no"
},
{
"name": "vendor",
"title": "供应商标识",
"type": "str",
"length": 50,
"nullable": "no"
},
{
"name": "vendor_title",
"title": "供应商名称",
"type": "str",
"length": 100
},
{
"name": "upappid",
"title": "上位系统ID(uapi)",
"type": "str",
"length": 32,
"nullable": "no"
},
{
"name": "api_mapping",
"title": "API映射(JSON)",
"type": "text",
"nullable": "no"
},
{
"name": "status",
"title": "状态",
"type": "str",
"length": 20,
"default": "active"
},
{
"name": "callback_url",
"title": "全局回调URL",
"type": "str",
"length": 500
},
{
"name": "create_time",
"title": "创建时间",
"type": "datetime"
},
{
"name": "update_time",
"title": "更新时间",
"type": "datetime"
}
],
"indexes": [
{
"name": "idx_rl_vendor_config_vendor",
"idxtype": "unique",
"idxfields": ["vendor"]
}
],
"codes": []
}