fix:合图,参数调整
This commit is contained in:
parent
1699420c4a
commit
c7f8bbfbcb
|
@ -264,7 +264,17 @@ func (l *defaultImageHandle) LogoCombine(ctx context.Context, in *LogoCombineReq
|
||||||
logx.Error(err)
|
logx.Error(err)
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
if templateInfo["materialList"] == nil {
|
||||||
|
err = errors.New("materialList is null")
|
||||||
|
logc.Errorf(ctx, "materialList err:%v", err)
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
materialList = templateInfo["materialList"].([]interface{})
|
materialList = templateInfo["materialList"].([]interface{})
|
||||||
|
if templateInfo["groupOptions"] == nil {
|
||||||
|
err = errors.New("groupOptions is null")
|
||||||
|
logc.Errorf(ctx, "groupOptions err:%v", err)
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
groupOptions = templateInfo["groupOptions"].(map[string]interface{})
|
groupOptions = templateInfo["groupOptions"].(map[string]interface{})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user