feat(osi): 实现公开字典查询接口(T-101)

This commit is contained in:
ila
2026-07-07 20:58:13 +08:00
parent 24f03179de
commit 74748c084b
8 changed files with 306 additions and 18 deletions
+8
View File
@@ -8,6 +8,10 @@ import (
const (
ServiceIDJKDAFind = "JKDA00002"
ServiceIDJKDAFindRqbj = "JKDA00005"
ServiceIDGridAddress = "WGDZ00001"
ServiceIDDoctors = "ZRYS00001"
ServiceIDDrugs = "YPML00001"
ServiceIDOrgs = "CXJG00002"
)
const codeRetryableTimeout = "405"
@@ -15,6 +19,10 @@ const codeRetryableTimeout = "405"
var servicePaths = map[string]string{
ServiceIDJKDAFind: "/auto/jkda/find",
ServiceIDJKDAFindRqbj: "/jkda/findrqbj",
ServiceIDGridAddress: "/auto/wgdzcx/query",
ServiceIDDoctors: "/auto/zryscx/query",
ServiceIDDrugs: "/auto/ypmlcx/query",
ServiceIDOrgs: "/auto/cxjg/query",
}
func PathOf(serviceID string) (string, error) {