feat(osi): 实现公开字典查询接口(T-101)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user