|
|
|
@ -42,6 +42,7 @@ type MyInfoResp struct {
|
|
|
|
|
Identifier string `json:"identifier"` //编号
|
|
|
|
|
Secret uint `json:"secret"`
|
|
|
|
|
Level int `json:"level"`
|
|
|
|
|
IsOffline bool `json:"is_offline"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type Notify struct {
|
|
|
|
@ -206,6 +207,7 @@ func MyInfo(c *gin.Context) {
|
|
|
|
|
Identifier: userInfo.Identifier,
|
|
|
|
|
Secret: userInfo.Secret,
|
|
|
|
|
Level: userInfo.Level,
|
|
|
|
|
IsOffline: userInfo.IsOffline,
|
|
|
|
|
}
|
|
|
|
|
back.Suc(c, "操作成功", &res)
|
|
|
|
|
return
|
|
|
|
|