feat sn 改成 int64

This commit is contained in:
2026-01-30 11:56:13 +08:00
parent 66117e95d5
commit ac44c0bd43
3 changed files with 5 additions and 5 deletions

View File

@@ -25,7 +25,7 @@ type Client struct {
cancel context.CancelFunc
writeChan chan []byte
USN string
USN int64
}
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 string `json:"usn"`
USN int64 `json:"usn"`
Name string `json:"name"`
AccessToken string `json:"accessToken"`
RefreshToken string `json:"refreshToken"`