- 新增 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
28 lines
1.3 KiB
JSON
28 lines
1.3 KiB
JSON
{
|
|
"tblname": "rl_vendor_config",
|
|
"alias": "rl_vendor_config_list",
|
|
"title": "供应商配置管理",
|
|
"params": {
|
|
"sortby": ["create_time desc"],
|
|
"logined_userorgid": "org_id",
|
|
"browserfields": {
|
|
"id": {"title": "ID", "widgettype": "Text"},
|
|
"vendor": {"title": "供应商标识", "widgettype": "Text"},
|
|
"vendor_title": {"title": "供应商名称", "widgettype": "Text"},
|
|
"upappid": {"title": "上位系统ID", "widgettype": "Text"},
|
|
"api_mapping": {"title": "API映射", "widgettype": "Text"},
|
|
"status": {"title": "状态", "widgettype": "Text"},
|
|
"callback_url": {"title": "回调URL", "widgettype": "Text"},
|
|
"ak": {"title": "Access Key", "widgettype": "Text"},
|
|
"sk": {"title": "Secret Key", "widgettype": "Text"},
|
|
"create_time": {"title": "创建时间", "widgettype": "Text"},
|
|
"update_time": {"title": "更新时间", "widgettype": "Text"}
|
|
},
|
|
"editable": {
|
|
"new_data_url": "{{entire_url('../api/rl_vendor_config_create.dspy')}}",
|
|
"update_data_url": "{{entire_url('../api/rl_vendor_config_update.dspy')}}",
|
|
"delete_data_url": "{{entire_url('../api/rl_vendor_config_delete.dspy')}}"
|
|
}
|
|
}
|
|
}
|