|
@@ -59,7 +59,7 @@ public class EmployeeController extends BaseController {
|
|
|
|
|
|
@ApiOperation("更新员工")
|
|
@ApiOperation("更新员工")
|
|
@PostMapping(value = "/update")
|
|
@PostMapping(value = "/update")
|
|
- public HttpResponseResult update(Employee employee) {
|
|
|
|
|
|
+ public HttpResponseResult update(@RequestBody Employee employee) {
|
|
employeeService.updateEmployee(employee);
|
|
employeeService.updateEmployee(employee);
|
|
return succeed();
|
|
return succeed();
|
|
}
|
|
}
|