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

pull/94/head
徐玉祥 2 years ago
parent a5f94ec488
commit e33c566eaa

@ -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();
}
/**

Loading…
Cancel
Save