zouxuan 5 年之前
父节点
当前提交
a72ddafdc3
共有 1 个文件被更改,包括 0 次插入8 次删除
  1. 0 8
      mec-im/src/main/java/com/ym/controller/UserController.java

+ 0 - 8
mec-im/src/main/java/com/ym/controller/UserController.java

@@ -8,8 +8,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RequestMethod;
 import org.springframework.web.bind.annotation.RequestMethod;
 import org.springframework.web.bind.annotation.RestController;
 import org.springframework.web.bind.annotation.RestController;
 
 
-import java.util.List;
-
 /**
 /**
  * Created by weiqinxiao on 2019/2/25.
  * Created by weiqinxiao on 2019/2/25.
  */
  */
@@ -24,12 +22,6 @@ public class UserController {
     public Object register(@RequestBody UserModel userModel) throws Exception {
     public Object register(@RequestBody UserModel userModel) throws Exception {
         return userService.register(userModel);
         return userService.register(userModel);
     }
     }
-
-    @RequestMapping(value = "/batchRegister", method = RequestMethod.POST)
-    public Object batchRegister(){
-        return userService.batchRegister();
-    }
-
     @RequestMapping(value = "/update", method = RequestMethod.POST)
     @RequestMapping(value = "/update", method = RequestMethod.POST)
     public Object update(@RequestBody UserModel userModel) throws Exception {
     public Object update(@RequestBody UserModel userModel) throws Exception {
         return userService.update(userModel);
         return userService.update(userModel);