Compare commits

..

1 Commits

Author SHA1 Message Date
wyx2685
7184e49650 尝试修复其他面板兼容问题 2024-09-03 01:03:37 +09:00

View File

@@ -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
}