|
@@ -175,6 +175,7 @@ public class GhDetailServiceImpl implements GhDetailService {
|
|
|
}
|
|
|
|
|
|
if (StringUtils.isNotEmpty(ghDetailVo.getContentDetail())) {
|
|
|
+ ghDetailVo.setContentDetail(ghDetailVo.getContentDetail().trim());
|
|
|
if (!JSONObject.isValidObject(ghDetailVo.getContentDetail())) {
|
|
|
return CommonResponse.create(500, "文章内容格式错误");
|
|
|
}
|