XMLWAN 3 lat temu
rodzic
commit
40009ba311

+ 1 - 1
controllers/xcx_mobile_api_controller.go/xcx_api_controller.go Wyświetl plik

@@ -162,7 +162,7 @@ func (this *XcxApiController) GetLoginInfor() {
162 162
 			"is_bind": false,
163 163
 		})
164 164
 	} else if errcodes == nil {
165
-		info, _ := service.GetMobilePatientInfo(mobile)
165
+		info, _ := service.GetPatientListByPatientId(user_admin.PatientId)
166 166
 		this.ServeSuccessJSON(map[string]interface{}{
167 167
 			"patient": info,
168 168
 			"role":    user_admin,