@@ -1596,6 +1596,7 @@ func (this *MaterialController) Rename() {
br.Msg = "缺少素材库编号"
return
}
+ req.MaterialName = strings.Trim(req.MaterialName, " ")
if req.MaterialName == "" {
br.Msg = "请填写图片名称"