@@ -106,7 +106,7 @@ func (this *XcxApiController) GetUserRegister() {
"role": role,
})
- } else if errcode == gorm.ErrRecordNotFound {
+ } else if errcode == nil {
mobilePatient, _ := service.GetMobilePatient(id_card_no)
this.ServeSuccessJSON(map[string]interface{}{
"is_bind": true,