Explorar o código

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

鲍自强 hai 8 meses
pai
achega
88b032cbb7
Modificáronse 1 ficheiros con 1 adicións e 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