
HELLO BUG
王小扣
IT
展开
-
swagger2:Illegal DefaultValue null for parameter type integer
代码@GetMapping("/goodsDetail")@ApiOperation("商品详情")public Result goodsDetail(@RequestParam @ApiParam(value = "商品 id", required = true) Long goodsId, @RequestParam @ApiPar...原创 2020-05-07 11:42:39 · 1078 阅读 · 0 评论 -
oracle ORA-00904: "***": invalid identifier
文章目录产生原因解决方案产生原因创建表使用 LEVEL 关键字 作为一个字段解决方案需要用双引号: “”alter table TABLE_NAME add "LEVEL" number(8);原创 2019-08-09 15:28:47 · 6230 阅读 · 0 评论 -
Uncaught TypeError: i.parents is not a function
使用layer.alert(),layer.msg()等,输出object则会报这个错误原创 2018-08-16 11:49:23 · 6931 阅读 · 0 评论 -
No converter found for return value of type: class club.xuanshangling.utils.JsonResult
解决:JsonResult类的private属性需要有getter和setter或者是因为需要加入Jackson的支持<dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId&g...原创 2019-08-20 11:18:57 · 507 阅读 · 1 评论 -
Uncaught SyntaxError: Unexpected token o in JSON at position 1
一个错误Uncaught SyntaxError: Unexpected token o in JSON at position 1出现原因:对一个对象进行JSON.parse(rData) 操作,应该处理JSON字符Json字符串转换有空格回车jsonString= jsonString.replace(/\n/g, "\\\\n");newJson= JSON.parse(jsonS...原创 2019-10-11 17:10:29 · 981 阅读 · 0 评论