fix:算法请求调整
This commit is contained in:
@@ -11,6 +11,7 @@ import (
|
||||
"fusenapi/utils/file"
|
||||
"fusenapi/utils/hash"
|
||||
"fusenapi/utils/s3url_to_s3id"
|
||||
"strconv"
|
||||
"time"
|
||||
|
||||
"github.com/aws/aws-sdk-go/aws/session"
|
||||
@@ -367,6 +368,10 @@ func (l *defaultImageHandle) LogoCombine(ctx context.Context, in *LogoCombineReq
|
||||
}
|
||||
|
||||
var fileBase = resultData["result"].(string)
|
||||
var spendTime = resultData["spend_time"].(string)
|
||||
spendTimeInt, _ := strconv.Atoi(spendTime)
|
||||
diffTimeLogoCombine = int64(spendTimeInt)
|
||||
logc.Infof(ctx, "合图--算法请求--合图--业务耗时(自身):%d", diffTimeLogoCombine)
|
||||
|
||||
// 上传文件
|
||||
var upload = file.Upload{
|
||||
|
||||
Reference in New Issue
Block a user