|
@@ -167,7 +167,7 @@ class Common extends Base
|
|
{
|
|
{
|
|
// 固定
|
|
// 固定
|
|
$type = ['首页BANNER', '首页LOTTERY','首页ARTICE','首页MEASURE'];
|
|
$type = ['首页BANNER', '首页LOTTERY','首页ARTICE','首页MEASURE'];
|
|
- $field = 'id,type,name,image,url,page_name,status,begintime,endtime,title';
|
|
|
|
|
|
+ $field = 'id,type,name,image,url,page_name,status,begintime,endtime,title,page_type';
|
|
$list = Block::getBlockList(['type' => $type, 'field' => $field]);
|
|
$list = Block::getBlockList(['type' => $type, 'field' => $field]);
|
|
// 根据type 区分新的数组
|
|
// 根据type 区分新的数组
|
|
|
|
|