f
This commit is contained in:
@@ -46,8 +46,6 @@ func ProcessJRZQO6L7Request(ctx context.Context, params []byte, deps *processors
|
|||||||
"city": null,
|
"city": null,
|
||||||
}
|
}
|
||||||
|
|
||||||
// 使用 WithSkipCode201Check 不跳过 201 错误检查,当 Code == "201" 时返回错误
|
|
||||||
ctx = zhicha.WithSkipCode201Check(ctx)
|
|
||||||
respData, err := deps.ZhichaService.CallAPI(ctx, "ZCI081", reqData)
|
respData, err := deps.ZhichaService.CallAPI(ctx, "ZCI081", reqData)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
if errors.Is(err, zhicha.ErrDatasource) {
|
if errors.Is(err, zhicha.ErrDatasource) {
|
||||||
|
|||||||
Reference in New Issue
Block a user