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