后端打印返回的数据是
{"code":0,"message":"成功"}
但是在前端F12后Network里面的Response是下面这个
{"code":0,"message":"成功","data":null}{"timestamp":"2020-07-02T11:33:37.447+0000","status":200,"error":"OK","message":"Session with id [4be5fa67-f0e8-466f-91ae-2fce74d957ab] has expired. Last access time: 20-7-2 下午7:33. Current time: 20-7-2 下午7:33. Session timeout is set to 0 seconds (0 minutes)","trace":"org.apache.shiro.session.ExpiredSessionException: Session with id [4be5fa67-f0e8-466f-91ae-2fce74d957ab] has expired. Last access time: 20-7-2 下午7:33. Current time: 20-7-2 下午7:33. Session timeout is set to 0 seconds (0 minutes)\r\n\tat"}
懵逼ing
前端从来不关心你后段自己打印输出什么,我只关心浏览器network response的返回结果