feat: return token when calling post /api/token (close #1208)

This commit is contained in:
JustSong 2024-03-24 22:24:41 +08:00
parent 56ddbb842a
commit cdfdeea3b4

View File

@ -142,6 +142,7 @@ func AddToken(c *gin.Context) {
c.JSON(http.StatusOK, gin.H{
"success": true,
"message": "",
"data": cleanToken,
})
return
}