fix
This commit is contained in:
parent
81b315b12b
commit
4d4381b196
|
@ -68,6 +68,7 @@ func (l *UpdateTemplateLogic) UpdateTemplate(req *types.UpdateTemplateReq, r *ht
|
|||
return resp.SetStatusWithMessage(basic.CodeServiceErr, "failed to marshal template data")
|
||||
}
|
||||
templateInfoJson := string(templateInfoBytes)
|
||||
//保存模板宽高
|
||||
var logoWidth int64
|
||||
var logoHeight int64
|
||||
for _, v := range req.TemplateData.MaterialList {
|
||||
|
@ -77,7 +78,6 @@ func (l *UpdateTemplateLogic) UpdateTemplate(req *types.UpdateTemplateReq, r *ht
|
|||
logoHeight, _ = v["height"].(json.Number).Int64()
|
||||
}
|
||||
}
|
||||
//保存模板宽高
|
||||
isPublic := int64(0)
|
||||
if req.TemplateData.IsPublic {
|
||||
isPublic = 1
|
||||
|
|
Loading…
Reference in New Issue
Block a user