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