Browse Source

体积小

XMLWAN 3 years ago
parent
commit
eed847766e
1 changed files with 1 additions and 2 deletions
  1. 1 2
      controllers/xcx_mobile_api_controller.go/xcx_api_controller.go

+ 1 - 2
controllers/xcx_mobile_api_controller.go/xcx_api_controller.go View File

149
 	fmt.Println(mobile)
149
 	fmt.Println(mobile)
150
 	info, _ := service.GetMobilePatientInfo(mobile)
150
 	info, _ := service.GetMobilePatientInfo(mobile)
151
 	if info.ID == 0 {
151
 	if info.ID == 0 {
152
-
153
 		this.ServeSuccessJSON(map[string]interface{}{
152
 		this.ServeSuccessJSON(map[string]interface{}{
154
 			"is_bind": false,
153
 			"is_bind": false,
155
 			"info":    info,
154
 			"info":    info,
160
 			role := models.XcxAdminUserRole{
159
 			role := models.XcxAdminUserRole{
161
 				PatientName: info.Name,
160
 				PatientName: info.Name,
162
 				IdCardNo:    info.IdCardNo,
161
 				IdCardNo:    info.IdCardNo,
163
-				Mobile:      info.TellPhone,
162
+				Mobile:      mobile,
164
 				Code:        "",
163
 				Code:        "",
165
 				PatientId:   info.ID,
164
 				PatientId:   info.ID,
166
 				UserOrgId:   info.UserOrgId,
165
 				UserOrgId:   info.UserOrgId,