This commit is contained in:
Sakurasan
2023-06-12 22:29:45 +08:00
parent 933a70a474
commit 516354c79a

View File

@@ -197,7 +197,7 @@ func HandleMe(c *gin.Context) {
int(u.ID),
u.UpdatedAt.Format(time.RFC3339),
u.Name,
u.Token[:15] + "*****" + u.Token[len(u.Token)-15:],
u.Token,
u.CreatedAt.Format(time.RFC3339),
}
c.JSON(http.StatusOK, resJSON)