feat: adjust layout for user profile page

This commit is contained in:
RockYang
2023-11-08 18:33:26 +08:00
parent 76dcc69e44
commit 8bafe72434
3 changed files with 219 additions and 88 deletions

View File

@@ -230,6 +230,8 @@ type userProfile struct {
Calls int `json:"calls"`
ImgCalls int `json:"img_calls"`
TotalTokens int64 `json:"total_tokens"`
Tokens int64 `json:"tokens"`
ExpiredTime int64 `json:"expired_time"`
}
func (h *UserHandler) Profile(c *gin.Context) {