一、该问题的重现步骤是什么?
1. 
2. 消息不能读取:JSON parse error: Unexpected character ('\' (code 92)): was expecting comma to separate Object entries
给你的接口配置xss放行
#blade配置 blade: #xss配置 xss: enabled: true skip-url: - /blade-chat/wechat - /blade-chat/qq
或者如果是高版本bladex,可以配置 【@XssIgnore】 这个注解到提交的接口
@XssIgnore
@PostMapping("/submit")
@ApiOperationSupport(order = 6)
@Operation(summary = "新增或修改", description = "传入notice")
public R submit(@RequestBody Notice notice) {
return R.status(noticeService.saveOrUpdate(notice));
}
扫一扫访问 Blade技术社区 移动端