f
This commit is contained in:
@@ -37,6 +37,9 @@ func ProcessJRZQACABERequest(ctx context.Context, params []byte, deps *processor
|
||||
if errors.Is(err, shujubao.ErrDatasource) {
|
||||
return nil, errors.Join(processors.ErrDatasource, err)
|
||||
}
|
||||
if errors.Is(err, shujubao.ErrQueryEmpty) {
|
||||
return nil, errors.Join(processors.ErrNotFound, err)
|
||||
}
|
||||
return nil, errors.Join(processors.ErrSystem, err)
|
||||
}
|
||||
|
||||
|
||||
@@ -34,6 +34,9 @@ func ProcessQCXG3B8ZRequest(ctx context.Context, params []byte, deps *processors
|
||||
if errors.Is(err, shujubao.ErrDatasource) {
|
||||
return nil, errors.Join(processors.ErrDatasource, err)
|
||||
}
|
||||
if errors.Is(err, shujubao.ErrQueryEmpty) {
|
||||
return nil, errors.Join(processors.ErrNotFound, err)
|
||||
}
|
||||
return nil, errors.Join(processors.ErrSystem, err)
|
||||
}
|
||||
|
||||
|
||||
@@ -36,6 +36,9 @@ func ProcessQCXG3M7ZRequest(ctx context.Context, params []byte, deps *processors
|
||||
if errors.Is(err, shujubao.ErrDatasource) {
|
||||
return nil, errors.Join(processors.ErrDatasource, err)
|
||||
}
|
||||
if errors.Is(err, shujubao.ErrQueryEmpty) {
|
||||
return nil, errors.Join(processors.ErrNotFound, err)
|
||||
}
|
||||
return nil, errors.Join(processors.ErrSystem, err)
|
||||
}
|
||||
|
||||
|
||||
@@ -22,8 +22,8 @@ func ProcessQCXG5U0ZRequest(ctx context.Context, params []byte, deps *processors
|
||||
}
|
||||
|
||||
reqParams := map[string]interface{}{
|
||||
"key": "7c8122677476dd2621f574976f1a9fde",
|
||||
"vin": paramsDto.VinCode,
|
||||
"key": "7c8122677476dd2621f574976f1a9fde",
|
||||
"vinList": paramsDto.VinCode,
|
||||
}
|
||||
|
||||
apiPath := "/communication/personal/10479"
|
||||
@@ -32,6 +32,9 @@ func ProcessQCXG5U0ZRequest(ctx context.Context, params []byte, deps *processors
|
||||
if errors.Is(err, shujubao.ErrDatasource) {
|
||||
return nil, errors.Join(processors.ErrDatasource, err)
|
||||
}
|
||||
if errors.Is(err, shujubao.ErrQueryEmpty) {
|
||||
return nil, errors.Join(processors.ErrNotFound, err)
|
||||
}
|
||||
return nil, errors.Join(processors.ErrSystem, err)
|
||||
}
|
||||
|
||||
|
||||
@@ -34,6 +34,9 @@ func ProcessQCXG9F5CERequest(ctx context.Context, params []byte, deps *processor
|
||||
if errors.Is(err, shujubao.ErrDatasource) {
|
||||
return nil, errors.Join(processors.ErrDatasource, err)
|
||||
}
|
||||
if errors.Is(err, shujubao.ErrQueryEmpty) {
|
||||
return nil, errors.Join(processors.ErrNotFound, err)
|
||||
}
|
||||
return nil, errors.Join(processors.ErrSystem, err)
|
||||
}
|
||||
|
||||
|
||||
@@ -34,6 +34,9 @@ func ProcessQCXGM7R9Request(ctx context.Context, params []byte, deps *processors
|
||||
if errors.Is(err, shujubao.ErrDatasource) {
|
||||
return nil, errors.Join(processors.ErrDatasource, err)
|
||||
}
|
||||
if errors.Is(err, shujubao.ErrQueryEmpty) {
|
||||
return nil, errors.Join(processors.ErrNotFound, err)
|
||||
}
|
||||
return nil, errors.Join(processors.ErrSystem, err)
|
||||
}
|
||||
|
||||
|
||||
@@ -34,6 +34,9 @@ func ProcessQCXGP1W3Request(ctx context.Context, params []byte, deps *processors
|
||||
if errors.Is(err, shujubao.ErrDatasource) {
|
||||
return nil, errors.Join(processors.ErrDatasource, err)
|
||||
}
|
||||
if errors.Is(err, shujubao.ErrQueryEmpty) {
|
||||
return nil, errors.Join(processors.ErrNotFound, err)
|
||||
}
|
||||
return nil, errors.Join(processors.ErrSystem, err)
|
||||
}
|
||||
|
||||
|
||||
@@ -34,6 +34,9 @@ func ProcessQCXGU2K4Request(ctx context.Context, params []byte, deps *processors
|
||||
if errors.Is(err, shujubao.ErrDatasource) {
|
||||
return nil, errors.Join(processors.ErrDatasource, err)
|
||||
}
|
||||
if errors.Is(err, shujubao.ErrQueryEmpty) {
|
||||
return nil, errors.Join(processors.ErrNotFound, err)
|
||||
}
|
||||
return nil, errors.Join(processors.ErrSystem, err)
|
||||
}
|
||||
|
||||
|
||||
@@ -36,6 +36,9 @@ func ProcessQCXGY7F2Request(ctx context.Context, params []byte, deps *processors
|
||||
if errors.Is(err, shujubao.ErrDatasource) {
|
||||
return nil, errors.Join(processors.ErrDatasource, err)
|
||||
}
|
||||
if errors.Is(err, shujubao.ErrQueryEmpty) {
|
||||
return nil, errors.Join(processors.ErrNotFound, err)
|
||||
}
|
||||
return nil, errors.Join(processors.ErrSystem, err)
|
||||
}
|
||||
|
||||
|
||||
@@ -36,6 +36,9 @@ func ProcessYYSYK9R4Request(ctx context.Context, params []byte, deps *processors
|
||||
if errors.Is(err, shujubao.ErrDatasource) {
|
||||
return nil, errors.Join(processors.ErrDatasource, err)
|
||||
}
|
||||
if errors.Is(err, shujubao.ErrQueryEmpty) {
|
||||
return nil, errors.Join(processors.ErrNotFound, err)
|
||||
}
|
||||
return nil, errors.Join(processors.ErrSystem, err)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user