XMTT %!s(int64=6) %!d(string=hace) años
padre
commit
a0e79eb042

+ 7 - 0
src/main/java/com/ekexiu/project/storage/system/service/SysService.java

@ -153,4 +153,11 @@ public class SysService {
153 153
        this.userDao.changePw(con, StringUtil.md5(newPw), u.getId());
154 154
    }
155 155
156
    @Get
157
    @Path("/resetPw")
158
    @LoginUser
159
    public void resetPw(@JdbcConn(true) Connection con,String id)throws SQLException {
160
        this.userDao.changePw(con, StringUtil.md5(DEFAULT_PW_STR), id);
161
    }
162
156 163
}