show user nickname in settings page

This commit is contained in:
MaysWind
2020-10-27 23:08:38 +08:00
parent 0c7391b85d
commit f509530d06
9 changed files with 67 additions and 11 deletions
+4 -2
View File
@@ -1,6 +1,8 @@
package models
type AuthResponse struct {
Token string `json:"token"`
Need2FA bool `json:"need2FA"`
Token string `json:"token"`
Username string `json:"username,omitempty"`
Nickname string `json:"nickname,omitempty"`
Need2FA bool `json:"need2FA"`
}