|
|
@@ -38,7 +38,7 @@ class HomeSpecialLists extends BaseAdminDataLists implements ListsSearchInterfac
|
|
|
public function setSearch(): array
|
|
|
{
|
|
|
return [
|
|
|
- '=' => ['special_type', 'title', 'cover_type', 'cover', 'describe', 'content', 'goods_id', 'user_head', 'user_nickname', 'vue_web', 'vue_param', 'weight', 'view_num', 'tags', 'status', 'create_time', 'update_time'],
|
|
|
+ '=' => ['special_type','special_way', 'title', 'cover_type', 'cover', 'describe', 'content', 'goods_id', 'user_head', 'user_nickname', 'vue_web', 'vue_param', 'weight', 'view_num', 'tags', 'status', 'create_time', 'update_time'],
|
|
|
];
|
|
|
}
|
|
|
|
|
|
@@ -55,7 +55,7 @@ class HomeSpecialLists extends BaseAdminDataLists implements ListsSearchInterfac
|
|
|
public function lists(): array
|
|
|
{
|
|
|
return HomeSpecial::where($this->searchWhere)
|
|
|
- ->field(['id', 'special_type', 'title', 'cover_type', 'cover', 'describe', 'content', 'goods_id', 'user_head', 'user_nickname', 'vue_web', 'vue_param', 'weight', 'view_num', 'tags', 'status'])
|
|
|
+ ->field(['id', 'special_type','special_way', 'title', 'cover_type', 'cover', 'describe', 'content', 'goods_id', 'user_head', 'user_nickname', 'vue_web', 'vue_param', 'weight', 'view_num', 'tags', 'status'])
|
|
|
->limit($this->limitOffset, $this->limitLength)
|
|
|
->order(['id' => 'desc'])
|
|
|
->select()
|