创建员工返回状态码200
This commit is contained in:
@@ -51,7 +51,7 @@ public class TbPlussShopStaffController {
|
||||
@Log("新增员工:#resources.name")
|
||||
@ApiOperation("新增/shop/shopStaff")
|
||||
public ResponseEntity<Object> createTbPlussShopStaff(@Validated @RequestBody TbPlussShopStaff resources){
|
||||
return new ResponseEntity<>(tbPlussShopStaffService.create(resources),HttpStatus.CREATED);
|
||||
return new ResponseEntity<>(tbPlussShopStaffService.create(resources),HttpStatus.OK);
|
||||
}
|
||||
|
||||
@PutMapping
|
||||
|
||||
Reference in New Issue
Block a user