地址删除报错
This commit is contained in:
@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user