报错:
feign.FeignException$BadRequest: status 400 reading MBaseClient#deleteBy(Integer id)
原因:调用时漏掉了头信息
调用方:
@PostMapping(value = “/xx-base-haihai/deleteBy”)
BaseApiResponse delete(@RequestParam(“id”)Integer id);
被调用方:
@ApiOperation("删除")
@PostMapping("deleteBy")
public BaseApiResponse<Integer> delete(@RequestParam("id") Integer pk,
@RequestHeader("customer-name")String customerName,
@RequestHeader("customer-id")String customerId,
@RequestHeader("product-code")String productCode) {
}