We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
建议先去浏览下文档和部署常见问题 快速开始 部署常见问题
bug场景描述
项目使用浏览器访问后端接口时响应数据会出现乱码问题,但是使用postman不会(因为content-type没有指定编码而是使用默认)
bug日志信息或数据信息
bug相关代码
class com.dtstack.taier.develop.config.MvcConfig
com.dtstack.taier.develop.config.MvcConfig
@Override public void configureMessageConverters(List<HttpMessageConverter<?>> converters) { MappingJackson2HttpMessageConverter mappingJackson2HttpMessageConverter = new MappingJackson2HttpMessageConverter(); List<MediaType> mediaTypes = new ArrayList<>(); mediaTypes.add(MediaType.TEXT_PLAIN); mediaTypes.add(MediaType.APPLICATION_JSON); mediaTypes.add(MediaType.MULTIPART_FORM_DATA); mappingJackson2HttpMessageConverter.setSupportedMediaTypes(mediaTypes); converters.add(0, mappingJackson2HttpMessageConverter); super.configureMessageConverters(converters); }
提示的异常或者没有达到的效果
add bug tag for him and i will fix it^.^
The text was updated successfully, but these errors were encountered:
Merge pull request #303 from bnyte/fix_297
78c0426
fix: Backend api responds garbled in browser (#297)
a38ada5
9a79e53
3fefe56
fe56768
No branches or pull requests
建议先去浏览下文档和部署常见问题
快速开始
部署常见问题
bug场景描述
项目使用浏览器访问后端接口时响应数据会出现乱码问题,但是使用postman不会(因为content-type没有指定编码而是使用默认)
bug日志信息或数据信息
bug相关代码
提示的异常或者没有达到的效果
The text was updated successfully, but these errors were encountered: