地址删除报错

This commit is contained in:
guchengwuyue
2023-07-01 17:53:42 +08:00
parent 8146465e2c
commit 4924ab29af

View File

@ -121,7 +121,7 @@ public class UserAddressController {
@PostMapping("/address/del")
@ApiOperation(value = "删除用户地址",notes = "删除用户地址")
public ApiResult<Boolean> deleteYxUserAddress(@Valid @RequestBody IdParam idParam){
userAddressService.removeById(idParam.getId());
userAddressService.removeById(Long.valueOf(idParam.getId()));
return ApiResult.ok();
}