refactor: providerid codes → supplychain.suppliers

This commit is contained in:
yumoqing 2026-07-09 13:39:11 +08:00
parent 963201bf10
commit 5dce6dd42c

View File

@ -1,110 +1,110 @@
{ {
"summary": [ "summary": [
{ {
"name": "httpapi", "name": "httpapi",
"title": "http程序接口", "title": "http程序接口",
"primary": [ "primary": [
"id" "id"
] ]
} }
], ],
"fields": [ "fields": [
{ {
"name": "id", "name": "id",
"title": "id", "title": "id",
"type": "str", "type": "str",
"length": 32 "length": 32
}, },
{ {
"name": "apiname", "name": "apiname",
"title": "接口名", "title": "接口名",
"type": "str", "type": "str",
"length": 100 "length": 100
}, },
{ {
"name": "label", "name": "label",
"title": "接口名称", "title": "接口名称",
"type": "str", "type": "str",
"length": 100 "length": 100
}, },
{ {
"name": "providerid", "name": "providerid",
"title": "接口提供方", "title": "接口提供方",
"type": "str", "type": "str",
"length": 32 "length": 32
}, },
{ {
"name": "apiinfo", "name": "apiinfo",
"title": "接口内容", "title": "接口内容",
"type": "str", "type": "str",
"length": 4000 "length": 4000
}, },
{ {
"name": "apinote", "name": "apinote",
"title": "接口描述", "title": "接口描述",
"type": "str", "type": "str",
"length": 500 "length": 500
}, },
{ {
"name": "use_session", "name": "use_session",
"title": "带历史信息", "title": "带历史信息",
"type": "str", "type": "str",
"length": 1 "length": 1
}, },
{ {
"name": "response_mode", "name": "response_mode",
"title": "响应模式", "title": "响应模式",
"type": "str", "type": "str",
"length": 50 "length": 50
}, },
{ {
"name": "system_msg_format", "name": "system_msg_format",
"title": "系统消息模版", "title": "系统消息模版",
"type": "str", "type": "str",
"length": 1000 "length": 1000
}, },
{ {
"name": "user_msg_format", "name": "user_msg_format",
"title": "用户消息模版", "title": "用户消息模版",
"type": "str", "type": "str",
"length": 1000 "length": 1000
}, },
{ {
"name": "llm_msg_format", "name": "llm_msg_format",
"title": "模型消息模版", "title": "模型消息模版",
"type": "str", "type": "str",
"length": 1000 "length": 1000
} }
], ],
"indexes": [ "indexes": [
{ {
"name": "idx1", "name": "idx1",
"idxtype": "unique", "idxtype": "unique",
"idxfields": [ "idxfields": [
"apiname" "apiname"
] ]
} }
], ],
"codes": [ "codes": [
{ {
"field": "providerid", "field": "providerid",
"table": "organization", "table": "supplychain.suppliers",
"valuefield": "id", "valuefield": "id",
"textfield": "orgname" "textfield": "supplier_name"
}, },
{ {
"field": "use_session", "field": "use_session",
"table": "appcodes_kv", "table": "appcodes_kv",
"valuefield": "k", "valuefield": "k",
"textfield": "v", "textfield": "v",
"cond": "parentid='yesno'" "cond": "parentid='yesno'"
}, },
{ {
"field": "response_mode", "field": "response_mode",
"table": "appcodes_kv", "table": "appcodes_kv",
"valuefield": "k", "valuefield": "k",
"textfield": "v", "textfield": "v",
"cond": "parentid='resp_mode'" "cond": "parentid='resp_mode'"
} }
] ]
} }