修改初始化

This commit is contained in:
zhangchenhao
2025-05-15 10:51:05 +08:00
parent b65c09d84a
commit 282224df28
3 changed files with 3 additions and 2 deletions

View File

@@ -79,7 +79,7 @@ func RequestBt(data *url.Values, method, providerID, requestUrl string) (map[str
var res map[string]interface{}
err = json.Unmarshal(body, &res)
if err != nil {
return nil, fmt.Errorf("返回值解析失败: %v", err)
return nil, fmt.Errorf("返回值解析失败: %v%s", err, string(body))
}
if res["status"] != nil && !res["status"].(bool) {