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