Springboot has questions about the content of an article.

original https://www.cnblogs.com/rensh.

when data is returned

I have tried my code for N times and all returned
{
"code": 1,
"msg": "this id must be passed",
"data": data
}

cannot be returned at all unless it is returned directly, but the code that looks at it does not directly return
{

"id": 21

}

Mar.02,2021

this means that you do not understand the meaning of the original text, and his meaning is also returned after packaging, but skips code and message, and only posts data


.

Yes, there is a problem with the blog post, which should be returned to the package. This is the correct solution. The front and rear ends of Dachang will agree on a format, similar to the

here.
{
"code": 1,
"msg": "id",
"data": 
}

I haven't seen any

that returns data directly.
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-1e869c7-46bb0.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-1e869c7-46bb0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?