Browse Source

体积小

XMLWAN 3 years ago
parent
commit
8c0f90f005
1 changed files with 1 additions and 1 deletions
  1. 1 1
      service/xcx_mobile_api_service.go

+ 1 - 1
service/xcx_mobile_api_service.go View File

@@ -247,6 +247,6 @@ func GetXcxPatientInfo(patient_id int64) (models.XcxPatients, error) {
247 247
 
248 248
 func GetOrgInfo(id int64) (models.XcxSgjUserOrg, error) {
249 249
 	org := models.XcxSgjUserOrg{}
250
-	err := XTReadDB().Model(&org).Where("id = ? and status= 1", id).Find(&org).Error
250
+	err := UserReadDB().Model(&org).Where("id = ? and status= 1", id).Find(&org).Error
251 251
 	return org, err
252 252
 }