Revert "Merge remote-tracking branch 'upstream/gva_gormv2_dev' into gva_gormv2_dev"

This reverts commit bb33c312b13577fef786a91e0369468d65364b6f, reversing
changes made to b9b4bc6b8b7a9b23efd4dab4cf38110c142cde76.
This commit is contained in:
songzhibin97
2021-08-21 17:55:06 +08:00
parent ce67438ef0
commit 71605850c2
23 changed files with 981 additions and 1770 deletions

View File

@@ -143,7 +143,7 @@ func (b *BaseApi) Register(c *gin.Context) {
// @Produce application/json
// @Param data body systemReq.ChangePasswordStruct true "用户名, 原密码, 新密码"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"修改成功"}"
// @Router /user/changePassword [post]
// @Router /user/changePassword [put]
func (b *BaseApi) ChangePassword(c *gin.Context) {
var user systemReq.ChangePasswordStruct
_ = c.ShouldBindJSON(&user)