소스 검색

fixed bug.

zhou.xiaoning 1 년 전
부모
커밋
6d1c1f8c91
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      controllers/user/user.go

+ 2 - 2
controllers/user/user.go

@@ -723,8 +723,8 @@ func GetTodayAccountConfigInfo(c *gin.Context) {
 // UpdateUserInfoWechatAndEmailReq 更新用户微信和邮箱入参
 type UpdateUserInfoWechatAndEmailReq struct {
 	UserID int     `json:"userID" binding:"required"` // 用户ID
-	Wechat *string `json:"wechat"`                    // 微信号,如必修改则不传,传空为清除微信号
-	Email  *string `json:"email"`                     // 邮箱地址,如必修改则不传,传空为清除邮箱地址
+	Wechat *string `json:"wechat"`                    // 微信号,如必修改则不传,传空为清除微信号
+	Email  *string `json:"email"`                     // 邮箱地址,如必修改则不传,传空为清除邮箱地址
 }
 
 // UpdateUserInfoWechatAndEmail 更新用户微信和邮箱