This commit is contained in:
Mrx
2026-03-23 14:08:35 +08:00
parent 7c4bcefc81
commit 6ab9bb21e7

View File

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