f
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user