diff --git a/app/Admin/Controllers/ProductSpuController.php b/app/Admin/Controllers/ProductSpuController.php index ebe8787b..c4602757 100644 --- a/app/Admin/Controllers/ProductSpuController.php +++ b/app/Admin/Controllers/ProductSpuController.php @@ -122,7 +122,7 @@ class ProductSpuController extends AdminController return array_column($v, 'id'); }); $form->editor('description'); - $form->select('buynot_id')->options(ProductBuynote::all()->pluck('name', 'id')); + $form->select('buynote_id')->options(ProductBuynote::all()->pluck('name', 'id')); $form->number('weight'); $form->currency('sell_price')->symbol('¥')->default(0); diff --git a/resources/lang/zh_CN/product-spu.php b/resources/lang/zh_CN/product-spu.php index 154a4997..702da9fe 100644 --- a/resources/lang/zh_CN/product-spu.php +++ b/resources/lang/zh_CN/product-spu.php @@ -15,7 +15,7 @@ return [ 'images' => '商品图片', 'features' => '商品特点', 'description' => '商品详情', - 'buynot_id'=>'购买须知模板', + 'buynote_id'=>'购买须知模板', 'sell_price' => '销售价格', 'market_price' => '市场价格', 'cost_price' => '成本价格',