| | |
| | | @ApiImplicitParam(name = "loginEntity", value = "字典实体类", dataType = "com.lf.server.entity.data.LoginEntity", paramType = "body", example = "") |
| | | }) |
| | | @PostMapping(value = "/insertLogin", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insertLogin(LoginEntity loginEntity) { |
| | | public ResponseMsg<Integer> insertLogin(@RequestBody LoginEntity loginEntity) { |
| | | try { |
| | | int count = loginService.insertLogin(loginEntity); |
| | | |
| | |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/updateLogin", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> updateLogin(LoginEntity loginEntity) { |
| | | public ResponseMsg<Integer> updateLogin(@RequestBody LoginEntity loginEntity) { |
| | | try { |
| | | int count = loginService.updateLogin(loginEntity); |
| | | |