|
@@ -1027,3 +1027,18 @@ func (this *NewDialysisApiController) GetSlowSearchePatient() {
|
1027
|
1027
|
"slowPatient": slowPatient,
|
1028
|
1028
|
})
|
1029
|
1029
|
}
|
|
1030
|
+
|
|
1031
|
+func (this *NewDialysisApiController) GetMemberSearchPatent() {
|
|
1032
|
+ keyword := this.GetString("keyword")
|
|
1033
|
+ fmt.Print("关键字", keyword)
|
|
1034
|
+ adminUser := this.GetMobileAdminUserInfo()
|
|
1035
|
+ orgid := adminUser.Org.Id
|
|
1036
|
+ memberPatient, err := service.GetMemberSearchPatient(keyword, orgid)
|
|
1037
|
+ if err != nil {
|
|
1038
|
+ this.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeSystemError)
|
|
1039
|
+ return
|
|
1040
|
+ }
|
|
1041
|
+ this.ServeSuccessJSON(map[string]interface{}{
|
|
1042
|
+ "memberPatient": memberPatient,
|
|
1043
|
+ })
|
|
1044
|
+}
|