|
@@ -199,7 +199,8 @@ public class CameraService {
|
|
|
|
|
|
InputStream excelTemplateIs = null;
|
|
|
try {
|
|
|
- //response.reset(); // 非常重要
|
|
|
+ response.reset(); // 非常重要
|
|
|
+ response.addHeader("Access-Control-Allow-Origin", "*");
|
|
|
response.setContentType("application/vnd.ms-excel");
|
|
|
response.setCharacterEncoding("utf-8");
|
|
|
final String fileName = URLEncoder.encode("Camera", "UTF-8");
|