f
This commit is contained in:
@@ -81,15 +81,6 @@ func ProcessYYSYBE08Request(ctx context.Context, params []byte, deps *processors
|
||||
shumaiResponse.Success = true
|
||||
}
|
||||
|
||||
// 检查响应状态
|
||||
if shumaiResponse.Code != 200 && shumaiResponse.Code != 400 {
|
||||
msg := shumaiResponse.Msg
|
||||
if msg == "" {
|
||||
msg = "数据源异常"
|
||||
}
|
||||
return nil, fmt.Errorf("%s: %s", processors.ErrDatasource, msg)
|
||||
}
|
||||
|
||||
// 构建返回结果
|
||||
resultCode := "0XXX" // 默认成功
|
||||
resultMsg := "验证通过"
|
||||
|
||||
Reference in New Issue
Block a user