feat 修改usn类型为string

This commit is contained in:
2026-01-11 16:16:21 +08:00
parent 5a02929afd
commit 34247ac6ba
4 changed files with 9 additions and 8 deletions

View File

@@ -25,7 +25,7 @@ type Client struct {
cancel context.CancelFunc
writeChan chan []byte
USN int64
USN string
}
func NewClient(httpAddr, websocketAddr string) *Client {
@@ -56,7 +56,7 @@ func (c *Client) Start() {
Code int `json:"code"`
Msg string `json:"msg"`
Data struct {
USN int64 `json:"usn"`
USN string `json:"usn"`
Name string `json:"name"`
AccessToken string `json:"accessToken"`
RefreshToken string `json:"refreshToken"`