reallife_asset/models/rl_vendor_config.json
yumoqing 414d0e66ed refactor: 移除uapi依赖,改用直接V4签名调用火山引擎API
- 新增 rl_volcengine_client.py: V4 HMAC-SHA256签名 + StreamHttpClient
- rl_vendor_config 表新增 ak/sk 字段,AK/SK直接存储(不再经过uapi/upappkey)
- init.py: _call_vendor 改用 rl_volcengine_client.call_volcengine_api
- api_mapping 改为直接映射Volcengine API Action(如CreateAsset)
- SQL: 移除upappkey部分,ak/sk存入rl_vendor_config
2026-05-29 14:13:47 +08:00

88 lines
2.0 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": "ak",
"title": "Access Key",
"type": "str",
"length": 200
},
{
"name": "sk",
"title": "Secret Key",
"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": []
}