|
@@ -515,8 +515,8 @@ public class ApiManagerTeacherController extends BaseController {
|
|
*/
|
|
*/
|
|
@RequestMapping(value="/registerTeacherImport")
|
|
@RequestMapping(value="/registerTeacherImport")
|
|
@ResponseBody
|
|
@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 {
|
|
try {
|
|
List<Map<String,String>> datas=analysisExFile(file);
|
|
List<Map<String,String>> datas=analysisExFile(file);
|
|
if(datas!=null && datas.size()>0){
|
|
if(datas!=null && datas.size()>0){
|