fix:裁剪业务逻辑调整
This commit is contained in:
@@ -59,7 +59,7 @@ func (l *defaultImageHandle) LogoInfoSet(ctx context.Context, in *LogoInfoSetReq
|
||||
|
||||
err := curl.NewClient(ctx, &curl.Config{
|
||||
BaseUrl: *l.BLMServiceUrl,
|
||||
Url: constants.BLMServiceUrlLogoCombine,
|
||||
Url: constants.BLMServiceUrlLogoFeatureExtraction,
|
||||
}).PostJson(postMap, &resultBLM)
|
||||
if err != nil {
|
||||
logx.Error(err)
|
||||
@@ -70,7 +70,9 @@ func (l *defaultImageHandle) LogoInfoSet(ctx context.Context, in *LogoInfoSetReq
|
||||
logx.Error(err)
|
||||
return nil, err
|
||||
}
|
||||
return nil, nil
|
||||
return &LogoInfoSetRes{
|
||||
Res: resultBLM.Data.(string),
|
||||
}, nil
|
||||
}
|
||||
|
||||
/* logo信息 */
|
||||
|
||||
Reference in New Issue
Block a user