Browse Source

删除help

master
李可松 4 years ago
parent
commit
01a691f05d
  1. 1
      app/AdminSupplier/Controllers/ProductController.php

1
app/AdminSupplier/Controllers/ProductController.php

@ -149,7 +149,6 @@ class ProductController extends AdminController
$options = Category::selectOptions(fn($query) => $query->where('agent_id', 0)->whereIn('publish_type', Admin::user()->publish_type)); $options = Category::selectOptions(fn($query) => $query->where('agent_id', 0)->whereIn('publish_type', Admin::user()->publish_type));
$form->select('category_id') $form->select('category_id')
->options(array_slice($options, 1, null, true)) ->options(array_slice($options, 1, null, true))
->help('旅游线路对应旅游线路;酒店对应酒店住宿;景区对应景点综合;餐厅对应餐饮娱乐;车队对应旅游交通;单项对应旅游购物')
->required(); ->required();
$cat2publish_type = json_encode(Category::where('agent_id', 0)->pluck('publish_type', 'id')); $cat2publish_type = json_encode(Category::where('agent_id', 0)->pluck('publish_type', 'id'));

Loading…
Cancel
Save