|
|
@ -158,7 +158,7 @@ public class WorkdiaryServiceController implements ResultDataResolver { |
|
|
|
* 下载模板 |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
@RequestMapping("downloadTemplate") |
|
|
|
@RequestMapping("/record/downloadTemplate") |
|
|
|
public void downloadTemplate(HttpServletResponse response) throws UnsupportedEncodingException { |
|
|
|
response.setCharacterEncoding("UTF-8"); |
|
|
|
response.addHeader(HttpHeaders.ACCESS_CONTROL_EXPOSE_HEADERS, "Content-Disposition"); |
|
|
|