From b6ea3a126d9e1f8d39a41e9ae15cdd440023cd82 Mon Sep 17 00:00:00 2001 From: vine_liutk <961510893@qq.com> Date: Thu, 25 Nov 2021 10:20:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=86=E7=B1=BBICON?= =?UTF-8?q?=E5=AD=98=E5=82=A8=E4=BD=8D=E7=BD=AE=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Admin/Controllers/ProductCategoryController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Admin/Controllers/ProductCategoryController.php b/app/Admin/Controllers/ProductCategoryController.php index c9a01ec6..f3a29ff1 100644 --- a/app/Admin/Controllers/ProductCategoryController.php +++ b/app/Admin/Controllers/ProductCategoryController.php @@ -105,7 +105,7 @@ class ProductCategoryController extends AdminController $form->select('parent_id')->options(ProductCategoryModel::selectOptions()); $form->text('name')->required(); $form->image('icon') - ->move('product/'.Carbon::now()->toDateString()) + ->move('product-categories/'.Carbon::now()->toDateString()) ->saveFullUrl() ->removable(false) ->autoUpload();