@@ -87,7 +87,7 @@ public class SoraCodeController {
/**
* 批量导入Sora邀请码模板
*/
- @PostMapping("/import/template")
+ @GetMapping("/import/template")
public void importTemplate(HttpServletResponse response) throws IOException {
EasyExcelUtils.createTemplateExcel(response, ExcelSoraCodeData.class, "Sora邀请码导入模板", "Sora邀请码导入模板", ExcelTypeEnum.XLSX, null);
}