Failed to convert value of type java.lang.String to required type long

àì夳堔傛蜴生んèń 2023-02-19 14:23 121阅读 0赞

{“code”:400,“msg”:“Failed to convert value of type ‘java.lang.String’ to required type ‘long’; nested exception is java.lang.NumberFormatException: For input string: “edit””,“data”:null}
突然出现这个报错的原因在于
你在postman中用错了方法,springboot接口请求地址是post方法,你却用了get方法。

发表评论

表情:
评论列表 (有 0 条评论,121人围观)

还没有评论,来说两句吧...

相关阅读