mirror of
https://github.com/wyx2685/V2bX.git
synced 2025-01-22 09:58:14 -05:00
尝试修复其他面板兼容问题
This commit is contained in:
parent
ea0b7d8f40
commit
7184e49650
@ -60,7 +60,7 @@ func (c *Client) GetUserAlive() (map[int]int, error) {
|
||||
r, err := c.client.R().
|
||||
ForceContentType("application/json").
|
||||
Get(path)
|
||||
if err != nil {
|
||||
if err != nil || r.StatusCode() >= 399 {
|
||||
return make(map[int]int), nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user