Failed to convert value of type java.lang.String to required type long
{“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方法。
还没有评论,来说两句吧...