From 516354c79ab593dd12b809a6c143731fef27f7c5 Mon Sep 17 00:00:00 2001 From: Sakurasan <1173092237@qq.com> Date: Mon, 12 Jun 2023 22:29:45 +0800 Subject: [PATCH] undo --- router/router.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/router/router.go b/router/router.go index b81cab2..66213b4 100644 --- a/router/router.go +++ b/router/router.go @@ -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)