mirror of
https://github.com/wyx2685/V2bX.git
synced 2026-02-04 04:30:08 +00:00
尝试修复其他面板兼容问题
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user