修复个人中心修改密码不生效问题

This commit is contained in:
linwenxiang committed 2021-03-25 11:34:30 +08:00
1 parent 78c67185fd
commit 58b439f553
4 files changed
+35 -20

No files matched your search

+2 -1
View File
@@ -113,5 +113,6 @@ func (s *SysUserById) GenerateM() (common.ActiveRecord, error) {
// PassWord 密码
type PassWord struct {
Password string `json:"password"`
NewPassword string `json:"newPassword" binding:"required"`
OldPassword string `json:"oldPassword" binding:"required"`
}