Skip to content

Commit cdfdeea

Browse files
committed
feat: return token when calling post /api/token (close songquanpeng#1208)
1 parent 56ddbb8 commit cdfdeea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

controller/token.go

+1
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ func AddToken(c *gin.Context) {
142142
c.JSON(http.StatusOK, gin.H{
143143
"success": true,
144144
"message": "",
145+
"data": cleanToken,
145146
})
146147
return
147148
}

0 commit comments

Comments
 (0)