This commit is contained in:
momo 2023-08-22 10:21:46 +08:00
parent 0857ecfd15
commit 5e00447da3

View File

@ -97,10 +97,6 @@ func (l *defaultImageHandle) LogoCombine(ctx context.Context, in *LogoCombineReq
json.Unmarshal(hashKeyDataB, &hashKeyDataMap)
var resourceId string = hash.JsonHashKey(hashKeyDataMap)
fmt.Println("hashKeyData:", hashKeyData)
fmt.Println("resourceId:", resourceId)
resourceModel := gmodel.NewFsResourceModel(l.MysqlConn)
resourceInfo, err := resourceModel.FindOneById(ctx, resourceId)
if err == nil && resourceInfo.ResourceId != "" {
@ -179,7 +175,7 @@ func (l *defaultImageHandle) LogoCombine(ctx context.Context, in *LogoCombineReq
}
logx.Infof("合图请求算法--结束时间:%v", time.Now())
logx.Infof("合图请求算法--返回结果:%v", string(b))
var resultStr string
if string(b) == "Internal Server Error" {
err = errors.New("BLMService fail Internal Server Error")