feat(osi): 实现老年人自理能力查询(T-303)
This commit is contained in:
@@ -17,6 +17,7 @@ func runServer(cfg config.Config, addr string) error {
|
||||
|
||||
hr := handler.NewHealthRecordHandler(client)
|
||||
hc := handler.NewHealthCheckHandler(client)
|
||||
elderly := handler.NewElderlyHandler(client)
|
||||
pub := handler.NewPublicHandler(client)
|
||||
mux := http.NewServeMux()
|
||||
mux.HandleFunc("/api/health-record/find", hr.Find)
|
||||
@@ -24,6 +25,7 @@ func runServer(cfg config.Config, addr string) error {
|
||||
mux.HandleFunc("/api/health-check/last", hc.Last)
|
||||
mux.HandleFunc("/api/health-check/all", hc.All)
|
||||
mux.HandleFunc("/api/health-check/list", hc.List)
|
||||
mux.HandleFunc("/api/elderly/self-care", elderly.SelfCare)
|
||||
mux.HandleFunc("/api/dictionaries/grid-addresses", pub.GridAddresses)
|
||||
mux.HandleFunc("/api/dictionaries/doctors", pub.Doctors)
|
||||
mux.HandleFunc("/api/dictionaries/drugs", pub.Drugs)
|
||||
@@ -35,6 +37,7 @@ func runServer(cfg config.Config, addr string) error {
|
||||
fmt.Printf(" GET http://%s/api/health-check/last?idCard=<身份证>\n", addr)
|
||||
fmt.Printf(" GET http://%s/api/health-check/all?idCard=<身份证>\n", addr)
|
||||
fmt.Printf(" GET http://%s/api/health-check/list?checkYear=<年度>&idCard=<身份证>\n", addr)
|
||||
fmt.Printf(" GET http://%s/api/elderly/self-care?idCard=<身份证>\n", addr)
|
||||
fmt.Printf(" GET http://%s/api/dictionaries/grid-addresses?parentCode=<区划码>\n", addr)
|
||||
fmt.Printf(" GET http://%s/api/dictionaries/doctors?manaUnitId=<机构码>\n", addr)
|
||||
fmt.Printf(" GET http://%s/api/dictionaries/drugs?ypmc=<药品名>\n", addr)
|
||||
|
||||
Reference in New Issue
Block a user