预期返回值
{
"data": {
"access_token": "2e9a8ead-3792-4eb1-a1de-e96fc2811920",
"token_type": "bearer",
"refresh_token": "93d4761b-393d-4fa7-9a4f-7180f57b88d7",
"expires_in": 3012,
"scope": "app"
},
"code": 0,
"msg": ""
}
但是返回值为
{
"code":0,
"data":{
"additionalInformation":{},
"expiration":1596121544910,
"expired":false,
"expiresIn":21599,
"refreshToken":{
"expiration":1596143144910,
"value":"18c8129a-3fe5-4a1a-8922-989d0ba5e165"
},
"scope":["app"],
"tokenType":"bearer",
"value":"3f1b1960-183c-4f94-af0e-0ec5ef99edb4"
},
"msg":""
}
原因
返回时使用fastjson而不是默认的Jackson