This commit is contained in:
2026-01-06 18:11:37 +08:00
parent 90f16911e9
commit ddbae6f82a

View File

@@ -222,7 +222,7 @@ func (j *JiguangService) CallAPI(ctx context.Context, apiCode string, apiPath st
}
// 检查业务状态码
if jiguangResp.Code != 0 {
if jiguangResp.Code != 0 && jiguangResp.Code != 200 {
// 创建极光错误
jiguangErr := NewJiguangErrorFromCode(jiguangResp.Code)
if jiguangErr.Message == fmt.Sprintf("未知错误码: %d", jiguangResp.Code) && jiguangResp.Msg != "" {