This commit is contained in:
Mrx
2026-05-20 15:52:04 +08:00
parent 40f12ac1cf
commit a2913c26ab
3 changed files with 9 additions and 9 deletions

View File

@@ -64,9 +64,9 @@ func ProcessQYGL4B2ERequest(
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)
}
// if errors.Is(err, shujubao.ErrQueryEmpty) {
// return nil, errors.Join(processors.ErrNotFound, err)
// }
return nil, errors.Join(processors.ErrSystem, err)
}

View File

@@ -94,9 +94,9 @@ func ProcessQYGL7D9ARequest(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)
}
// if errors.Is(err, shujubao.ErrQueryEmpty) {
// return nil, errors.Join(processors.ErrNotFound, err)
// }
return nil, errors.Join(processors.ErrSystem, err)
}

View File

@@ -85,9 +85,9 @@ func ProcessQYGL8B4DRequest(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)
}
// if errors.Is(err, shujubao.ErrQueryEmpty) {
// return nil, errors.Join(processors.ErrNotFound, err)
// }
return nil, errors.Join(processors.ErrSystem, err)
}