提交 52dab1e0 编写于 作者: O o2null 提交者: NoSubject

Merge branch 'fix/defaultWoText' into 'develop'

默认text

See merge request o2oa/o2oa!1856

(cherry picked from commit 6c6655fe)

c436e6b3 默认text
上级 cb3c24e6
......@@ -22,7 +22,7 @@ public class WoText extends GsonPropertyObject {
private String contentType;
public String getContentType() {
return StringUtils.isEmpty(this.contentType) ? HttpMediaType.APPLICATION_JSON_UTF_8 : this.contentType;
return StringUtils.isEmpty(this.contentType) ? HttpMediaType.TEXT_PLAIN_UTF_8 : this.contentType;
}
public void setContentType(String contentType) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册