Selaa lähdekoodia

Merge branch 'kuaiyingyong' into tgz_slow

tgz 2 vuotta sitten
vanhempi
commit
5b0f56e269

+ 26 - 16
app/Http/Controllers/QuickApp/Book/BookController.php

@@ -195,7 +195,8 @@ class BookController extends BaseController
         // 获取基本数据
         $package = $request->header('x-package', '');
         $brand = $request->header('x-nbrand', '');
-        $codeVersion = $request->header('x-codeversion', '');
+        // $codeVersion = $request->header('x-codeversion', '');
+        $codeVersion = $request->header('x-version', '');
 
         $user = (new QappUserService)->getGolableUser();
         if ($package == "com.beidao.kuaiying.yueai" && $sex == "male" && isset($user->uid) && !empty($user->uid) && ($user->send_order_id > 0 || $user->user->send_order_id > 0)) {
@@ -245,8 +246,8 @@ class BookController extends BaseController
 
         $package = $request->header('x-package', '');
         $brand = $request->header('x-nbrand', '');
-        $codeVersion = $request->header('x-codeversion', '');
-        $isAuth = check_qapp_auth($package, 0);
+        // $codeVersion = $request->header('x-codeversion', '');
+        $codeVersion =  $request->header('x-version', '');
         $isAuth = check_qapp_auth($package, 0);
         //新判断: 根据包名来获取对应所需的bid
         $qapp_package = QappPackage::getPackageByPackage($package);
@@ -324,9 +325,6 @@ class BookController extends BaseController
      */
     private function getCheckBids($channel, $books, $package_id, $package)
     {
-
-
-
         $hotBids = QappRecommendService::getRecommendByPacketId($channel, 'hot', $package_id);
         $liveBids = QappRecommendService::getRecommendByPacketId($channel, 'live', $package_id);
         $recomBids = QappRecommendService::getRecommendByPacketId($channel, 'recom', $package_id);
@@ -503,7 +501,8 @@ class BookController extends BaseController
         // 审核状态默认值
         $package = $request->header('x-package', '');
         $brand = $request->header('x-nbrand', '');
-        $codeVersion = $request->header('x-codeversion', '');
+        // $codeVersion = $request->header('x-codeversion', '');
+        $codeVersion = $request->header('x-version', '');
         if ($order_field === 'recommend_index' && Utils::checkIsAudit($package, $brand, $codeVersion)) {
             $order = ['book_configs.bid', 'desc'];
         }
@@ -666,7 +665,8 @@ class BookController extends BaseController
         // 根据包名、平台、版本号判断是否审核
         $package = $request->header('x-package', '');
         $brand = $request->header('x-nbrand', '');
-        $codeVersion = $request->header('x-codeversion', '');
+        // $codeVersion = $request->header('x-codeversion', '');
+        $codeVersion = $request->header('x-version', '');
 
         if (Utils::checkIsAudit($package, $brand, $codeVersion)) {
             $bids = [2266, 3838, 9700, 10175, 10301, 3422, 1166, 4546, 9163, 2509,
@@ -1340,7 +1340,8 @@ class BookController extends BaseController
         // 审核状态默认值
         $package = $request->header('x-package', '');
         $brand = $request->header('x-nbrand', '');
-        $codeVersion = $request->header('x-codeversion', '');
+        // $codeVersion = $request->header('x-codeversion', '');
+        $codeVersion = $request->header('x-version', '');
         if ($order_field === 'recommend_index' && Utils::checkIsAudit($package, $brand, $codeVersion)) {
             $order = ['book_configs.bid', 'desc'];
         }
@@ -1377,10 +1378,15 @@ class BookController extends BaseController
     {
         // 获取基本数据
         $package = $request->header('x-package', '');
-        $brand = $request->header('x-nbrand', '');
-        $codeVersion = $request->header('x-codeversion', '');
+        $brand = $request->header('x-brand', '');
+        $codeVersion = $request->header('x-Version', '');
+        $key = $sex . "_new";
+        if ( Utils::checkIsAudit($package, $brand, $codeVersion)){
+            $key .= "_audit";
+        }
 
-        $result = HomeCache::getHomePageInfo($package, $sex . "_new");
+        $result = HomeCache::getHomePageInfo($package,$key);
+        // $result = null;
         if (is_empty($result)) {
             $isAuth = check_qapp_auth($package, 0);
             //新判断: 根据包名来获取对应所需的bid
@@ -1391,16 +1397,20 @@ class BookController extends BaseController
                 $package_id = 0;
             }
             $channel = $sex == 'male' ? 1 : 2;
-            $result = $this->getRecommendBooks($package_id, $package, $channel, $isAuth);
-            HomeCache::setHomePageInfo($package, $sex . "_new", $result, 86400 + rand(0, 100));
+            // myLog("index-recom")->info(['$package' => $package,'brand' => $brand,'code' =>  $codeVersion]);
+            $result = $this->getRecommendBooks($package_id, $package, $channel, $isAuth, Utils::checkIsAudit($package, $brand, $codeVersion));
+            HomeCache::setHomePageInfo($package, $key, $result, 86400 + rand(0, 100));
         }
         return response()->success($result);
 
     }
 
-    private function getRecommendBooks($package_id, $package, $channel, $is_auth)
+    private function getRecommendBooks($package_id, $package, $channel, $is_auth,$is_audit = false)
     {
-
+        // myLog("index-recom")->info(['pack' => $package,'is_audit' => $is_audit]);
+        if($is_audit){
+            return  BookAuditService::getRecommendBooksNew($package_id, $package, $channel, $is_auth,$is_audit);
+        }
         $data = BookConfigService::getRecommendBids($package, $channel, [], 48);
         $bids = array_chunk($data, 12);
         $guss_like = BookConfigService::getRecommendBids($package, $channel, $data, 20);

+ 6 - 3
app/Http/Controllers/QuickApp/WelcomeController.php

@@ -4,6 +4,7 @@ namespace App\Http\Controllers\QuickApp;
 
 use App\Consts\PushConst;
 use App\Libs\Push\OPPOPush\OPPOPushCommon;
+use App\Libs\Utils;
 use App\Modules\AdPosition\Services\AdPositionService;
 use App\Modules\Channel\Services\QappSendOrderContentShieldConfigService;
 use App\Modules\SendOrder\Models\QappSendOrder;
@@ -170,7 +171,8 @@ class WelcomeController extends BaseController
     {
         // 获取包名
         $package = $request->header('x-package', '');
-
+        $brand = $request->header('x-brand', '');
+        $codeVersion = $request->header('x-Version', '');
         // 获取客服信息
         $supports = config('option.supports');
         $support  = getProp($supports, $package, (object)[]);
@@ -187,6 +189,7 @@ class WelcomeController extends BaseController
             $adPositions    = AdPositionService::getInstance()->getAdPositions($this->uid, getProp($channelAccount, 'id'));
         }
 
+        $is_audit =   Utils::checkIsAudit($package, $brand, $codeVersion) ? 1: 0;
         // 配置
         $data = [
             'support'        => $support,
@@ -202,9 +205,9 @@ class WelcomeController extends BaseController
                 'home_alert'    => getProp($adPositions, 'home_alert', []),
                 'reader_banner' => getProp($adPositions, 'reader_banner', []),
                 'open_alert' => getProp($adPositions, 'open_alert', []),
-            ]
+            ],
+            'is_audit' =>  $is_audit,
         ];
-
         return response()->success($data);
     }
 }

+ 27 - 0
app/Modules/Book/Services/BookAuditService.php

@@ -170,4 +170,31 @@ class BookAuditService
             ['type' => 'new_recom', 'lable' => '人气新书', 'books' => collectionTransform(new BookTransformer, BookConfigService::getBooksByIds($newBids))]
         ]);
     }
+
+    public static function getRecommendBooksNew($package_id, $package, $channel, $is_auth, $is_audit)
+    {
+        $config = config("home.audit")[$package];
+        if($config){
+           if ($channel == 1){
+               $bids = $config['male'];
+           }else {
+               $bids = $config['female'];
+           }
+            [$hotBids, $liveBids, $recomBids, $newBids]  =  array_chunk($bids, 6);
+
+        }else{
+            if ($channel == 1){
+                return self::getHomeBooksData('male',$package,$is_auth,$package_id);
+            }else {
+                return self::getHomeBooksData('female',$package,$is_auth,$package_id);
+            }
+        }
+        [$hotBids, $liveBids, $recomBids, $newBids] = BookConfigService::HomePageRecomBookCheck($hotBids, $liveBids, $recomBids, $newBids,$package_id, $package,$channel);
+        $list = [];
+        foreach ($config['labels'] as $key =>  $v){
+           $list[] =   ['type' => 'rec_'.$key, 'lable' => $v, 'books' => collectionTransform(new BookTransformer, BookConfigService::getBooksByIds($newBids))];
+        }
+        return  array_filter($list);
+
+    }
 }

+ 88 - 5
config/audit.php

@@ -1,19 +1,102 @@
 <?php
 return [
-    'com.app.kyy.xjxs'       => [
-        'brand'       => 'huawei',
+    'com.app.kyy.xjxs' => [
+        'brand' => 'huawei',
         'codeVersion' => '0.0.2'
     ],
     'com.juyu.kuaiying.rmyq' => [
-        'brand'       => 'huawei',
+        'brand' => 'huawei',
         'codeVersion' => '0.0.2'
     ],
     'com.app.kyy.jdqyy' => [
-        'brand'       => 'huawei',
+        'brand' => 'huawei',
         'codeVersion' => '0.0.2'
     ],
     'com.app.kyy.qnxs' => [
-        'brand'       => 'huawei',
+        'brand' => 'huawei',
         'codeVersion' => '0.0.2'
     ],
+
+    'com.juyu.kuaiying.rmyq' => [
+        'brand' => 'huawei',
+        'codeVersion' => '0.0.2'
+    ],
+
+    "com.beidao.kuaiying.qingmang" => [
+        'brand' => 'huawei',
+        'codeVersion' => '1.0.15'
+    ],
+    "com.beidao.kuaiying.haitian" => [
+        'brand' => 'huawei',
+        'codeVersion' => '1.0.14'
+    ],
+    "com.beidao.kuaiying.suishen" => [
+        'brand' => 'huawei',
+        'codeVersion' => '1.0.16'
+    ],
+    "com.beidao.kuaiying.qingfeng" => [
+        'brand' => 'huawei',
+        'codeVersion' => '1.0.7'
+    ],
+    "com.beidao.kuaiying.haohan" => [
+        'brand' => 'huawei',
+        'codeVersion' => '1.0.18'
+    ],
+    "com.beidao.kuaiying.tiantiankanshu" => [
+        'brand' => 'huawei',
+        'codeVersion' => '1.0.6'
+    ],
+    "com.beidao.kuaiying.yuele" => [
+        'brand' => 'huawei',
+        'codeVersion' => '0.0.2'
+    ],
+    "com.beidao.kuaiying.yueai" => [
+        'brand' => 'huawei',
+        'codeVersion' => '1.0.21'
+    ],
+    "com.beidao.kuaiying.zhuiyunduba" => [
+        'brand' => 'huawei',
+        'codeVersion' => '1.0.11'
+    ],
+    "com.beidao.kuaiying.woyaokanshu" => [
+        'brand' => 'huawei',
+        'codeVersion' => '0.0.2'
+    ],
+    "com.beidao.kuaiying.meirishuba" => [
+        'brand' => 'huawei',
+        'codeVersion' => '0.0.2'
+    ],
+    "com.beidao.kuaiying.lemang" => [
+        'brand' => 'huawei',
+        'codeVersion' => '0.0.2'
+    ],
+    "com.beidao.kuaiying.xingmeng" => [
+        'brand' => 'huawei',
+        'codeVersion' => '1.0.7'
+    ],
+    "com.beidao.kuaiying.hupoyuedu" => [
+        'brand' => 'huawei',
+        'codeVersion' => '1.0.10'
+    ],
+    "com.beidao.kuaiying.cuizhu" => [
+        'brand' => 'huawei',
+        'codeVersion' => '0.0.2'
+    ],
+    "com.beidao.kuaiying.quanwang" => [
+        'brand' => 'huawei',
+        'codeVersion' => '1.0.5'
+    ],
+    "com.beidao.kuaiying.zaixian" => [
+        'brand' => 'huawei',
+        'codeVersion' => '0.0.2'
+    ],
+    "com.beidao.kuaiying.pianai" => [
+        'brand' => 'huawei',
+        'codeVersion' => '0.0.2'
+    ],
+    "com.beidao.kuaiying.shouyue" => [
+        'brand' => 'huawei',
+        'codeVersion' => '0.0.2'
+    ],
+
 ];

+ 165 - 105
config/home.php

@@ -2,137 +2,137 @@
 return [
     'default' => [
         'reco_banner' => [
-            'label'  => '首页banner',
-            'male'   => [
+            'label' => '首页banner',
+            'male' => [
                 [
                     'redirect_url' => 'views/Detail',
-                    'banner_url'   => 'https://cdn-novel.iycdm.com/h5/reco_banner/20200820145102SYGL.jpg',
-                    'bid'          => 'vEY8QJe51DA9WKoekOg7Bj6bmGM2qPXr', // 11529 神医归来
-                    'cid'          => 0
+                    'banner_url' => 'https://cdn-novel.iycdm.com/h5/reco_banner/20200820145102SYGL.jpg',
+                    'bid' => 'vEY8QJe51DA9WKoekOg7Bj6bmGM2qPXr', // 11529 神医归来
+                    'cid' => 0
                 ],
             ],
             'female' => [
                 [
                     'redirect_url' => 'views/Detail',
-                    'banner_url'   => 'https://cdn-novel.iycdm.com/h5/reco_banner/20200820145103SSYF.jpg',
-                    'bid'          => '0DNW9mYOqL7XGg3N3YlPk16eQx45dB8w', // 10823 圣手医妃
-                    'cid'          => 0
+                    'banner_url' => 'https://cdn-novel.iycdm.com/h5/reco_banner/20200820145103SSYF.jpg',
+                    'bid' => '0DNW9mYOqL7XGg3N3YlPk16eQx45dB8w', // 10823 圣手医妃
+                    'cid' => 0
                 ]
             ],
         ],
-        'hot'         => [
-            'label'  => '今日主推',
-            'male'   => [13267, 13304, 13301, 13293, 13292, 13291],
+        'hot' => [
+            'label' => '今日主推',
+            'male' => [13267, 13304, 13301, 13293, 13292, 13291],
             'female' => [13341, 13332, 13331, 13330, 13328, 13327],
         ],
-        'zhibo'       => [
-            'label'  => '大家都在看',
-            'male'   => [13290, 13289, 13288, 13287, 13286, 13285],
+        'zhibo' => [
+            'label' => '大家都在看',
+            'male' => [13290, 13289, 13288, 13287, 13286, 13285],
             'female' => [13220, 13324, 13318, 13316, 13312, 13311],
         ],
-        'recom'       => [
-            'label'  => '主编精选',
-            'male'   => [13284, 13283, 13282, 13281, 13280, 13279],
+        'recom' => [
+            'label' => '主编精选',
+            'male' => [13284, 13283, 13282, 13281, 13280, 13279],
             'female' => [13308, 13307, 13242, 13240, 13239, 13236],
         ],
-        'new_recom'   => [
-            'label'  => '畅销精品',
-            'male'   => [13278, 13277, 13276, 13275, 13274, 13273],
+        'new_recom' => [
+            'label' => '畅销精品',
+            'male' => [13278, 13277, 13276, 13275, 13274, 13273],
             'female' => [13235, 13233, 13231, 13230, 13229, 13226],
         ],
     ],
-    'new'     => [
+    'new' => [
         'reco_banner' => [
-            'label'  => '首页banner',
-            'male'   => [
+            'label' => '首页banner',
+            'male' => [
                 [
                     'redirect_url' => 'views/Detail',
-                    'banner_url'   => 'https://cdn-novel.iycdm.com/h5/reco_banner/20200820145004ZQSS.jpg',
-                    'bid'          => 'mqvQ0OXLZE2ba3KnY8RoDNzyJxMBrAVw', // 574 英雄联盟
-                    'cid'          => 0
+                    'banner_url' => 'https://cdn-novel.iycdm.com/h5/reco_banner/20200820145004ZQSS.jpg',
+                    'bid' => 'mqvQ0OXLZE2ba3KnY8RoDNzyJxMBrAVw', // 574 英雄联盟
+                    'cid' => 0
                 ],
             ],
             'female' => [
                 [
                     'redirect_url' => 'views/Detail',
-                    'banner_url'   => 'https://cdn-novel.iycdm.com/h5/reco_banner/20200820145001JSWL.jpg',
-                    'bid'          => 'XD3QMAwoPJaj4RjjerRke0BmNn6p15LZ', // 10479 江山万里不如你
-                    'cid'          => 0
+                    'banner_url' => 'https://cdn-novel.iycdm.com/h5/reco_banner/20200820145001JSWL.jpg',
+                    'bid' => 'XD3QMAwoPJaj4RjjerRke0BmNn6p15LZ', // 10479 江山万里不如你
+                    'cid' => 0
                 ],
             ],
         ],
-        'hot'         => [
-            'label'  => '今日主推',
-            'male'   => [11496, 11457, 10378, 7287, 11499, 11501],
+        'hot' => [
+            'label' => '今日主推',
+            'male' => [11496, 11457, 10378, 7287, 11499, 11501],
             'female' => [13081, 9826, 4948, 13109, 6438, 6616],
         ],
-        'zhibo'       => [
-            'label'  => '大家都在看',
-            'male'   => [11674, 10375, 11948, 11940, 13252, 2609],
+        'zhibo' => [
+            'label' => '大家都在看',
+            'male' => [11674, 10375, 11948, 11940, 13252, 2609],
             'female' => [12689, 13090, 11671, 11999, 3252, 12701],
         ],
-        'recom'       => [
-            'label'  => '主编精选',
-            'male'   => [13281, 12551, 11949, 11497, 12707, 12503],
+        'recom' => [
+            'label' => '主编精选',
+            'male' => [13281, 12551, 11949, 11497, 12707, 12503],
             'female' => [11646, 2434, 7310, 3650, 12465, 8950],
         ],
-        'new_recom'   => [
-            'label'  => '畅销精品',
-            'male'   => [12680, 12521, 11748, 12698, 12682, 13261],
+        'new_recom' => [
+            'label' => '畅销精品',
+            'male' => [12680, 12521, 11748, 12698, 12682, 13261],
             'female' => [11656, 13092, 11666, 2633, 6303, 12739],
         ],
     ],
-    'ycsd'     => [
+    'ycsd' => [
         'reco_banner' => [
-            'label'  => '首页banner',
-            'male'   => [
+            'label' => '首页banner',
+            'male' => [
                 [
                     'redirect_url' => 'views/Detail',
-                    'banner_url'   => 'https://zhuishuyun.oss-cn-hangzhou.aliyuncs.com/book/cover/9f55b8615a37fa1f404b0cc1666d6c28.jpeg',
-                    'bid'          => 'dPwBa129vND4MRaNodKj7VobmzEO8YZ6', // 1890 美女总裁的全职保安
-                    'cid'          => 0
+                    'banner_url' => 'https://zhuishuyun.oss-cn-hangzhou.aliyuncs.com/book/cover/9f55b8615a37fa1f404b0cc1666d6c28.jpeg',
+                    'bid' => 'dPwBa129vND4MRaNodKj7VobmzEO8YZ6', // 1890 美女总裁的全职保安
+                    'cid' => 0
                 ],
             ],
             'female' => [
                 [
                     'redirect_url' => 'views/Detail',
-                    'banner_url'   => 'https://zhuishuyun.oss-cn-hangzhou.aliyuncs.com/book/cover/082576b8d38afc0b8c890c8d6e5dfc93.jpeg',
-                    'bid'          => '2VkOMpjBem8ZNgrxqQKY7d9r5LE03Dwz', // 15720 黑夜见过他深情
-                    'cid'          => 0
+                    'banner_url' => 'https://zhuishuyun.oss-cn-hangzhou.aliyuncs.com/book/cover/082576b8d38afc0b8c890c8d6e5dfc93.jpeg',
+                    'bid' => '2VkOMpjBem8ZNgrxqQKY7d9r5LE03Dwz', // 15720 黑夜见过他深情
+                    'cid' => 0
                 ],
             ],
         ],
-        'hot'         => [
-            'label'  => '今日主推',
-            'male'   => [86,2942,2943,2773,2900,2921],
-            'female' => [14620,58195,11680,59296,13082,11681],
+        'hot' => [
+            'label' => '今日主推',
+            'male' => [86, 2942, 2943, 2773, 2900, 2921],
+            'female' => [14620, 58195, 11680, 59296, 13082, 11681],
         ],
-        'zhibo'       => [
-            'label'  => '大家都在看',
-            'male'   => [2929,2935,2940,2944,2903,2928],
-            'female' => [58950,12331,59297,17055,15720,15537],
+        'zhibo' => [
+            'label' => '大家都在看',
+            'male' => [2929, 2935, 2940, 2944, 2903, 2928],
+            'female' => [58950, 12331, 59297, 17055, 15720, 15537],
         ],
-        'recom'       => [
-            'label'  => '主编精选',
-            'male'   => [2945,2948,17,85,94,141],
-            'female' => [11883,22394,12901,60902,11671,4112],
+        'recom' => [
+            'label' => '主编精选',
+            'male' => [2945, 2948, 17, 85, 94, 141],
+            'female' => [11883, 22394, 12901, 60902, 11671, 4112],
         ],
-        'new_recom'   => [
-            'label'  => '畅销精品',
-            'male'   => [574,1190,1780,2885,2887,2915],
-            'female' => [10846,60736,61425,10074,15216,60734],
+        'new_recom' => [
+            'label' => '畅销精品',
+            'male' => [574, 1190, 1780, 2885, 2887, 2915],
+            'female' => [10846, 60736, 61425, 10074, 15216, 60734],
         ],
     ],
 
-    'yueai'     => [
+    'yueai' => [
         'reco_banner' => [
-            'label'  => '首页banner',
-            'male'   => [
+            'label' => '首页banner',
+            'male' => [
                 [
                     'redirect_url' => 'views/Detail',
-                    'banner_url'   => 'https://zhuishuyun.oss-cn-hangzhou.aliyuncs.com/app/banner/202208121702.jpeg',
-                    'bid'          => '95b7L6pwB84Aklkm44R0Y3rV1PqNOvjx', // 63482
-                    'cid'          => 0
+                    'banner_url' => 'https://zhuishuyun.oss-cn-hangzhou.aliyuncs.com/app/banner/202208121702.jpeg',
+                    'bid' => '95b7L6pwB84Aklkm44R0Y3rV1PqNOvjx', // 63482
+                    'cid' => 0
                 ]
                 // ,[
                 //     'redirect_url' => 'views/Detail',
@@ -150,55 +150,115 @@ return [
             'female' => [
                 [
                     'redirect_url' => 'views/Detail',
-                    'banner_url'   => 'https://zhuishuyun.oss-cn-hangzhou.aliyuncs.com/book/cover/082576b8d38afc0b8c890c8d6e5dfc93.jpeg',
-                    'bid'          => '2VkOMpjBem8ZNgrxqQKY7d9r5LE03Dwz', // 15720 黑夜见过他深情
-                    'cid'          => 0
+                    'banner_url' => 'https://zhuishuyun.oss-cn-hangzhou.aliyuncs.com/book/cover/082576b8d38afc0b8c890c8d6e5dfc93.jpeg',
+                    'bid' => '2VkOMpjBem8ZNgrxqQKY7d9r5LE03Dwz', // 15720 黑夜见过他深情
+                    'cid' => 0
                 ],
             ],
         ],
-        'hot'         => [
-            'label'  => '热门书单',
-            'male'   => [63225,63183,14016,14927,58994,63226],
-            'female' => [14620,58195,11680,59296,13082,11681],
+        'hot' => [
+            'label' => '热门书单',
+            'male' => [63225, 63183, 14016, 14927, 58994, 63226],
+            'female' => [14620, 58195, 11680, 59296, 13082, 11681],
         ],
-        'zhibo'       => [
-            'label'  => '神书直播',
-            'male'   => [63199,13300,58960,58890,62781,59784],
-            'female' => [58950,12331,59297,17055,15720,15537],
+        'zhibo' => [
+            'label' => '神书直播',
+            'male' => [63199, 13300, 58960, 58890, 62781, 59784],
+            'female' => [58950, 12331, 59297, 17055, 15720, 15537],
         ],
-        'recom'       => [
-            'label'  => '小编精选',
-            'male'   => [63417,61736,15103,14351,58892,63226],
-            'female' => [11883,22394,12901,60902,11671,4112],
+        'recom' => [
+            'label' => '小编精选',
+            'male' => [63417, 61736, 15103, 14351, 58892, 63226],
+            'female' => [11883, 22394, 12901, 60902, 11671, 4112],
         ],
-        'new_recom'   => [
-            'label'  => '人气新书',
-            'male'   => [63180,58896,13928,58894,14408,13931],
-            'female' => [10846,60736,61425,10074,15216,60734],
+        'new_recom' => [
+            'label' => '人气新书',
+            'male' => [63180, 58896, 13928, 58894, 14408, 13931],
+            'female' => [10846, 60736, 61425, 10074, 15216, 60734],
         ],
-        'task_banner' =>  [
+        'task_banner' => [
             [
                 'redirect_url' => 'views/Detail',
-                'banner_url'   => 'https://zhuishuyun.oss-cn-hangzhou.aliyuncs.com/app/banner/202208151143thwzysn.jpeg',
-                'bid'          => 63187, //   下山退婚,我只要师娘!
-                'cid'          => 0
+                'banner_url' => 'https://zhuishuyun.oss-cn-hangzhou.aliyuncs.com/app/banner/202208151143thwzysn.jpeg',
+                'bid' => 63187, //   下山退婚,我只要师娘!
+                'cid' => 0
             ],
             [
                 'redirect_url' => 'views/Detail',
-                'banner_url'   => 'https://zhuishuyun.oss-cn-hangzhou.aliyuncs.com/app/banner/202208151144syty.jpeg',
-                'bid'          => 59334, //  世外桃源
-                'cid'          => 0
-            ],[
+                'banner_url' => 'https://zhuishuyun.oss-cn-hangzhou.aliyuncs.com/app/banner/202208151144syty.jpeg',
+                'bid' => 59334, //  世外桃源
+                'cid' => 0
+            ], [
                 'redirect_url' => 'views/Detail',
-                'banner_url'   => 'https://zhuishuyun.oss-cn-hangzhou.aliyuncs.com/app/banner/202208151145hztx.jpeg',
-                'bid'          => 58734, // 59334 寒战天下
-                'cid'          => 0
+                'banner_url' => 'https://zhuishuyun.oss-cn-hangzhou.aliyuncs.com/app/banner/202208151145hztx.jpeg',
+                'bid' => 58734, // 59334 寒战天下
+                'cid' => 0
             ]
         ]
     ],
-    'rank' =>[
-        'male'   => [86,2942,2943,2773,2900,2921,2929,2935,2940,2944,2903,2928,2945,2948,17,85,94,141,574,1190,1780,2885,2887,2915,2920,2923,2926,2927,2937,2939,2941,2947,2993],
-        'female' => [14163,17055,3697,59004,15720,13082,58950,60902,61012,7567,11671,15537,16133,16184,16220,22393,22394,22395,58329,58801,58864,59020,59295,59293,60238,60736,61425,59297,59579,59813],
+    'rank' => [
+        'male' => [86, 2942, 2943, 2773, 2900, 2921, 2929, 2935, 2940, 2944, 2903, 2928, 2945, 2948, 17, 85, 94, 141, 574, 1190, 1780, 2885, 2887, 2915, 2920, 2923, 2926, 2927, 2937, 2939, 2941, 2947, 2993],
+        'female' => [14163, 17055, 3697, 59004, 15720, 13082, 58950, 60902, 61012, 7567, 11671, 15537, 16133, 16184, 16220, 22393, 22394, 22395, 58329, 58801, 58864, 59020, 59295, 59293, 60238, 60736, 61425, 59297, 59579, 59813],
     ],
+    'audit' => [
+        "com.beidao.kuaiying.haitian" => [
+            'labels' => ['大神驾到','主编力荐','心选好书',"热门小说"],
+            'male' => [61020, 61596, 63721, 15251, 14299, 16454, 67041, 67043, 16256, 67032, 16712, 67039, 67033, 13929, 59784, 67031, 67038, 67045, 67044, 67042, 16451, 59580, 19409, 14021],
+            'female' => [60093,4938,61039,60720,61107,15431,16112,62177,63884,58481,12701,58195,7797,12367,15521,61607,58790,11316,6522,12202,13324,13207,61504,62537
+            ],
+        ], "com.beidao.kuaiying.zhuiyunduba" => [
+            'labels' => [],
 
+            'male' => [13257, 13265, 13274, 13267, 13263, 13250, 59391, 14408, 13280, 14097, 2575, 13570, 16841, 2593, 16540, 94, 6977, 65422, 65413, 65427, 65418, 65432, 16527, 16830],
+            'female' => [58396,12250,60670,14709,2633,18817,58763,12468,59512,4890,11245,16240,61802,11063,11653,62192,10906,11926,3689,7858,16411,9781,16395,12696
+            ],
+        ], "com.beidao.kuaiying.haohan" => [
+            'labels' => ['全网热追','大家爱看','新书精选','小编力荐'],
+            'male' => [13282, 13271, 10548, 13361, 13306, 13867, 13888, 13840, 13992, 14107, 14295, 14072, 13930, 14304, 14809, 14806, 14312, 14926, 14925, 21733, 64339, 64325, 64989, 64987],
+            'female' => [11648,11672,16053,14349,59004,11679,59075,64527,61040,62178,66000,8141,63320,14904,14163,11616,61801,16731,11663,14993,62865,19214,64577,6043
+            ],
+        ], "com.beidao.kuaiying.hupoyuedu" => [
+            'labels' => [],
+            'male' => [13258, 6644, 7507, 6411, 7216, 6400, 7680, 7218, 8258, 10275, 10184, 8242, 7217, 10690, 13251, 13264, 13254, 13070, 10550, 13278, 13276, 13272, 13291, 13288
+            ],
+            'female' => [8038,4027,60897,12691,13439,14205,58834,63269,60089,62146,13325,7860,59842,14678,5921,9570,6141,65931,5915,11658,12331,13124,2721,11883
+            ],
+        ], "com.beidao.kuaiying.xingmeng" => [
+            'labels' => ['新书上架','火爆热销','大神力作','高分作品'],
+            'male' => [13253, 10693, 13290, 13287, 13273, 12713, 13884, 14000, 14273, 14112, 13993, 14303, 14807, 14516, 14300, 14927, 61557, 64329, 64284, 13269, 13266, 65428, 13932, 13284
+            ],
+            'female' => [1623,13761,61791,11632,13023,58223,13082,16301,11999,65937,11680,59376,12160,12281,11681,15282,16902,13125,11670,11662,7523,13374,12474,11671
+            ],
+        ],
+        "com.beidao.kuaiying.tiantiankanshu" => [
+            'labels' => [],
+            'male' => [61941, 13876, 13878, 13879, 11408, 6648, 13882, 13885, 15204, 65412, 20837, 14602, 14793, 13363, 14111, 14407, 19991, 13256, 7508, 7221, 8461, 7506, 20711, 13261
+            ],
+            'female' => [],
+        ], "com.beidao.kuaiying.yueai" => [
+            'labels' => ['精品小说','指数排行',"最新出品",'全网热搜读'],
+            'male' => [16469, 16526, 16495, 16499, 16503, 16511, 20650, 16545, 16566, 16534, 14272, 16435, 16236, 16450, 16436, 16548, 20413, 58969, 2166, 14296, 12488, 13275, 13292, 13293
+            ],
+            'female' => [60177,61075,4360,12876,11650,13241,65721,12472,12182,15646,66270,3395,62490,59878,8295,12739,7332,16392,19411,19418,64933,3350,12467,14383
+            ],
+        ], "com.beidao.kuaiying.suishen" => [
+            'labels' => [],
+            'male' => [13334, 16443, 65086, 13252, 12108, 7956, 12103, 13285, 14310, 16552, 61945, 62887, 65426, 65429, 13281, 62356, 16695, 16493, 16554, 16432, 16440, 16441, 16449, 16468
+            ],
+            'female' => [10821,13608,2619,14697,15255,8098,62647,12195,14583,62876,2718,13488,1949,14547,7095,61654,61893,62512,60525,60845,61606,64026,8837,62510
+            ],
+        ], "com.beidao.kuaiying.qingfeng" => [
+            'labels' => [],
+            'male' => [16434, 16442, 16502, 16541, 16579, 16456, 61683, 62303, 16948, 61944, 16438, 16445, 16518, 16455, 21023, 60749, 67040, 62355, 20887, 13877, 13994, 14808, 141, 13338
+            ],
+            'female' => [67294,64768,62493,62511,63328,66611,15784,62581,64794,15785,66612,62709,62307,65477,12882,1036,1475,12892,60532,65640,62357,12235,12880,12867
+            ],
+        ], "com.beidao.kuaiying.qingmang" => [
+            'labels' => ['人气新书','畅销精选','书友爱看','小编心选'],
+            'male' => [14308, 3483, 13928, 19587, 17652, 13300, 14022, 14016, 14351, 14297, 19675, 58687, 16452, 16433, 13931, 16448, 21376, 21001, 16816, 20368, 17242, 20783, 16453, 16427
+            ],
+            'female' => [10721,15720,24366,60636,15402,3962,14998,65928,13081,15281,12080,58233,62175,11661,60524,8950,60091,61699,7265,11660,11665,19381,14664,10823
+            ],
+        ]
+    ]
 ];