Explorar el Código

Merge branch 'bzq/dev' of eta_mini/eta_mini_api into debug

鲍自强 hace 8 meses
padre
commit
88b032cbb7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      services/user.go

+ 1 - 1
services/user.go

@@ -168,7 +168,7 @@ func SaveUserInfo(userId, departmentId int, realName string) (msg string, err er
 		return
 	}
 	updateCols := make([]string, 0)
-	if realName == "" {
+	if user.RealName == "" {
 		if realName == "" {
 			msg = "请输入姓名"
 			return