mirror of
https://github.com/AynaLivePlayer/blivedm-go.git
synced 2025-12-06 11:22:50 +08:00
fix #33
This commit is contained in:
@@ -87,6 +87,10 @@ func (c *Client) init() error {
|
||||
}
|
||||
c.token = info.Data.Token
|
||||
}
|
||||
if c.token == "" {
|
||||
log.Error("cannot get account token")
|
||||
return errors.New("token 获取失败")
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user