6
0
Fork 0

修改分类ICON存储位置名称

release
vine_liutk 2021-11-25 10:20:09 +08:00
parent 896cd48344
commit b6ea3a126d
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ class ProductCategoryController extends AdminController
$form->select('parent_id')->options(ProductCategoryModel::selectOptions()); $form->select('parent_id')->options(ProductCategoryModel::selectOptions());
$form->text('name')->required(); $form->text('name')->required();
$form->image('icon') $form->image('icon')
->move('product/'.Carbon::now()->toDateString()) ->move('product-categories/'.Carbon::now()->toDateString())
->saveFullUrl() ->saveFullUrl()
->removable(false) ->removable(false)
->autoUpload(); ->autoUpload();