通过URL传参的中文被Encoder转椅,如何正常传中文
被编码,接收方做对应的解码处理就好了。
@RequestMapping(value = "/appCustomer/getMfCusCustomerInfo" ,produces = MediaType.APPLICATION_JSON_UTF8_VALUE, consumes = "application/json;charset=UTF-8")
参考地址:https://blog.csdn.net/flyingdog123/article/details/105705205
写url可不就这样嘛,如果自己手动解码改动很大的话,那还不如服务方支持post方式提交数据,feign发起请求的时候采用post提交数据