How does spring security oauth2 modify the return format?

/ oauth/token this interface gets access_token, but it is the default format of springsecurity. I now want to change the format to a custom format
{

.
code:"",
msg:"",
data:{
    access_token:"xxxx"
}
Please tell me what to do with the format

}
.
uses springboot2.0 + springcloud

Jun.12,2022

the same problem. I also want to know


has this problem been solved? I also have such a need. I don't know where to start


https://stackoverflow.com/que...

implement AccessDeniedHandler or AuthenticationEntryPoint

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e500ee-45080.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e500ee-45080.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?