浏览代码

批量导入返回值优化

shenhao 3 年之前
父节点
当前提交
d9a05b9bb2
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/main/java/com/ssj/api/controller/ApiManagerTeacherController.java

+ 2 - 2
src/main/java/com/ssj/api/controller/ApiManagerTeacherController.java

@@ -515,8 +515,8 @@ public class ApiManagerTeacherController extends BaseController {
      */
     @RequestMapping(value="/registerTeacherImport")
     @ResponseBody
-    public Response registerTeacherImport(Model model, @RequestParam("file") MultipartFile file) {
-        Response response = new  Response();
+    public ResponseEntity registerTeacherImport(Model model, @RequestParam("file") MultipartFile file) {
+        ResponseEntity response = new  ResponseEntity();
         try {
             List<Map<String,String>> datas=analysisExFile(file);
             if(datas!=null && datas.size()>0){