需要在feign和对应的controller中设置上
feign.java
@RequestMapping(value = "/appCustomer/getMfCusCustomerInfo" ,produces = MediaType.APPLICATION_JSON_UTF8_VALUE, consumes = "application/json;charset=UTF-8")
public String getMfCusCustomerInfo(@RequestParam(name="cusName") String cusName, @RequestParam(name="socialCreditCode") String socialCreditCode);
controller.java
@RequestMapping(value = "/getMfCusCustomerInfo",produces = MediaType.APPLICATION_JSON_UTF8_VALUE, consumes = "application/json;charset=UTF-8")
public String getMfCusCustomerInfo(@RequestParam(name="cusName") String cusName, @RequestParam(name="socialCreditCode") String socialCreditCode) throws Exception{
return appCustomerBo.getMfCusCustomerInfo(cusName, socialCreditCode);
}