yingzi hace 3 años
padre
commit
dd342cd107
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      app/system/controller/ShowTemplate.php

+ 2 - 1
app/system/controller/ShowTemplate.php

@@ -75,7 +75,8 @@ class ShowTemplate extends  BaseController{
             ['title','','empty','请填写模板标题'],
             ['title','','empty','请填写模板标题'],
             ['price','0','is_numeric','请输入正确的模板售价'],
             ['price','0','is_numeric','请输入正确的模板售价'],
             ['old_price','0','is_numeric','请输入正确的模板原价'],
             ['old_price','0','is_numeric','请输入正确的模板原价'],
-            ['imgs',[],'empty','请上传商品主图'],
+//            ['imgs',[],'empty','请上传商品主图'],
+            ['imgs',[]],
             ['is_hot','0'],
             ['is_hot','0'],
             ['is_recommend','0'],
             ['is_recommend','0'],
             ['code','','empty','请输入CODE'],
             ['code','','empty','请输入CODE'],