【更新】下载模板接口使用Void

pull/94/head
徐玉祥 2023-03-13 22:16:18 +08:00
parent a5f94ec488
commit e33c566eaa
1 changed files with 1 additions and 2 deletions

View File

@ -269,9 +269,8 @@ public class SysUserController {
@ApiOperation("下载用户导入模板")
@CommonLog("下载用户导入模板")
@GetMapping(value = "/sys/user/downloadImportUserTemplate", produces = MediaType.APPLICATION_OCTET_STREAM_VALUE)
public CommonResult<String> downloadImportUserTemplate(HttpServletResponse response) throws IOException {
public void downloadImportUserTemplate(HttpServletResponse response) throws IOException {
sysUserService.downloadImportUserTemplate(response);
return CommonResult.ok();
}
/**