heyuntao
2023-06-12 6d5bda47851782efcf5743ef591a6e423b837c04
application/api/logic/Banner.php
@@ -10,7 +10,7 @@
class Banner extends BasicLogic
{
    const BANNER_TYPE = ['1'=>'topBannerList','3'=>'singleLineList','4'=>'doubleLineList','5'=>'bottomBannerList','7' => 'popBannerList'];
    const BANNER_TYPE = ['1'=>'topBannerList','3'=>'singleLineList','4'=>'doubleLineList','5'=>'bottomBannerList','7' => 'popBannerList','11'=>'popBannerSList','12'=>'indexbanner','13'=>'enterTop','14'=>'enterDown'];
    public function __construct()
    {
@@ -36,7 +36,11 @@
            'singleLineList'=>[],
            'doubleLineList'=>[],
            'bottomBannerList'=>[],
            'popBannerList' => []
            'popBannerList' => [],
            'popBannerSList'=>[],
            'indexbanner'=>[],
            'enterTop'=>[],
            'enterDown'=>[]
        ];
        if(count($type_arr) > 1){
            foreach($list as $item){