1.提交缺失的东西
This commit is contained in:
@ -55,7 +55,18 @@ class GoodsLists extends BaseAdminDataLists implements ListsSearchInterface
|
||||
public function lists(): array
|
||||
{
|
||||
return Goods::where($this->searchWhere)
|
||||
->field(['id', 'name', 'code', 'first_category_id', 'second_category_id', 'third_category_id', 'brand_id', 'supplier_id', 'status', 'image', 'video', 'poster', 'remark', 'content', 'sort', 'sales_sum', 'virtual_sales_sum', 'click_count', 'virtual_click', 'spec_type', 'max_price', 'min_price', 'market_price', 'stock', 'stock_warn', 'is_show_stock', 'free_shipping_type', 'free_shipping', 'free_shipping_template_id', 'is_commission', 'first_ratio', 'second_ratio', 'three_ratio', 'is_share_bouns', 'region_ratio', 'shareholder_ratio', 'is_new', 'is_best', 'is_like', 'is_team', 'is_integral', 'is_member', 'give_integral_type', 'give_integral', 'del', 'is_express', 'is_selffetch'])
|
||||
->field(['id', 'name', 'code', 'first_category_id', 'second_category_id',
|
||||
'third_category_id', 'brand_id', 'supplier_id', 'status', 'image',
|
||||
'video', 'poster', 'remark', 'content', 'sort',
|
||||
'sales_sum', 'virtual_sales_sum', 'click_count',
|
||||
'virtual_click', 'spec_type', 'max_price', 'min_price',
|
||||
'market_price', 'stock', 'stock_warn', 'is_show_stock',
|
||||
'free_shipping_type', 'free_shipping', 'free_shipping_template_id',
|
||||
'is_commission', 'first_ratio', 'second_ratio', 'three_ratio',
|
||||
'is_share_bouns', 'region_ratio', 'shareholder_ratio', 'is_new',
|
||||
'is_best', 'is_like', 'is_team', 'is_integral', 'is_member',
|
||||
'give_integral_type', 'give_integral', 'del', 'is_express',
|
||||
'is_selffetch','cat_name','price','total_sales_sum'])
|
||||
->limit($this->limitOffset, $this->limitLength)
|
||||
->order(['id' => 'desc'])
|
||||
->select()
|
||||
|
||||
Reference in New Issue
Block a user