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