fix:上传logo--debug模式
This commit is contained in:
parent
5773f159d2
commit
50fd645a1f
@ -222,6 +222,11 @@ func (l *UploadLogoDebugLogic) UploadLogoDebug(req *types.UploadLogoDebugReq, us
|
|||||||
colors := make([][]string, 0, 10)
|
colors := make([][]string, 0, 10)
|
||||||
SelectedColorIndex := 0
|
SelectedColorIndex := 0
|
||||||
isDefaultTemplateTag := false
|
isDefaultTemplateTag := false
|
||||||
|
//查看用户素材中标签对应的颜色
|
||||||
|
if colorsSet, ok := mapMaterialTemplateTagColors[*templateTagInfo.TemplateTag]; ok {
|
||||||
|
//标签颜色
|
||||||
|
colors = colorsSet
|
||||||
|
}
|
||||||
var templateTagGroups []interface{}
|
var templateTagGroups []interface{}
|
||||||
if templateTagInfo.Groups != nil && *templateTagInfo.Groups != "" {
|
if templateTagInfo.Groups != nil && *templateTagInfo.Groups != "" {
|
||||||
if err = json.Unmarshal([]byte(*templateTagInfo.Groups), &templateTagGroups); err != nil {
|
if err = json.Unmarshal([]byte(*templateTagInfo.Groups), &templateTagGroups); err != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user