fix: 刷新改为后台执行并在部分失败时保留已有数据

This commit is contained in:
2026-10-15 11:07:29 +08:00
parent 0255067c77
commit efd21d3cf8
5 changed files with 80 additions and 53 deletions
+1 -1
View File
@@ -501,7 +501,7 @@ func parseBody(buf []byte, priv *rsa.PrivateKey) (*Result, error) {
if json.Unmarshal(raw, &s) == nil && s != "" {
plain, err := decryptLong(priv, s)
if err != nil {
return nil, errors.New("无法解密网站响应")
return nil, errDecrypt
}
decoded, err := decodeURIComponent(plain)
if err != nil {