mirror of https://gitee.com/xiaonuobase/snowy
【更新】导入模板改为GET下载
parent
a49fb8a807
commit
c49c7b5e3a
|
@ -267,7 +267,7 @@ public class SysUserController {
|
|||
@ApiOperationSupport(order = 15)
|
||||
@ApiOperation("下载用户导入模板")
|
||||
@CommonLog("下载用户导入模板")
|
||||
@PostMapping(value = "/sys/user/downloadImportUserTemplate", produces = MediaType.APPLICATION_OCTET_STREAM_VALUE)
|
||||
@GetMapping(value = "/sys/user/downloadImportUserTemplate", produces = MediaType.APPLICATION_OCTET_STREAM_VALUE)
|
||||
public CommonResult<String> downloadImportUserTemplate(HttpServletResponse response) throws IOException {
|
||||
sysUserService.downloadImportUserTemplate(response);
|
||||
return CommonResult.ok();
|
||||
|
|
Loading…
Reference in New Issue