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