| | |
| | | @Autowired |
| | | DownloadService downloadService; |
| | | |
| | | private final static String EQ = "="; |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "分页查询并返回记录数") |
| | | @ApiImplicitParams({ |
| | |
| | | if (StringHelper.isEmpty(guid) || StringHelper.isEmpty(pwd)) { |
| | | return fail("文件ID和密码不能为空", null); |
| | | } |
| | | if (!pwd.endsWith("=")) { |
| | | if (!pwd.endsWith(EQ)) { |
| | | pwd = URLDecoder.decode(pwd, StandardCharsets.UTF_8.name()); |
| | | } |
| | | |
| | |
| | | if (StringHelper.isEmpty(guid) || StringHelper.isEmpty(pwd)) { |
| | | WebHelper.writeInfo(HttpStatus.BAD_REQUEST, "文件ID和密码不能为空", res); |
| | | } |
| | | if (!pwd.endsWith("=")) { |
| | | if (!pwd.endsWith(EQ)) { |
| | | pwd = URLDecoder.decode(pwd, StandardCharsets.UTF_8.name()); |
| | | } |
| | | |