Wang Chen il y a 4 ans
Parent
commit
4d59ac03b8

+ 4 - 30
app/Http/Controllers/QuickApp/WelcomeController.php

@@ -113,38 +113,12 @@ class WelcomeController extends BaseController
         $data = [
             'support'     => $support,
             'task_center' => [
-                'home_show'           => 0,
-                'pay_back_alert_show' => 0,
+                'home_show'           => 1,
+                'pay_back_alert_show' => 1,
             ],
             'position'    => [
-                'home_alert'    => [
-//                    [
-//                        'img'    => 'https://cdn-newyc.ycsd.cn/h5/activity-2020-07-21/alert.png',
-//                        'url'    => '/views/Activity',
-//                        'title'  => '活动1',
-//                        'params' => [
-//                            'token' => 'eaf389602af4bf3180282b78cfbaf39d'
-//                        ]
-//                    ]
-                ],
-                'reader_banner' => [
-//                    [
-//                        'img'    => 'http://cdn-newyc.ycsd.cn/h5/activity-2020-07-21/banner1.jpg',
-//                        'url'    => '/views/Activity',
-//                        'title'  => '活动1',
-//                        'params' => [
-//                            'token' => 'eaf389602af4bf3180282b78cfbaf39d'
-//                        ]
-//                    ],
-//                    [
-//                        'img'    => 'http://cdn-newyc.ycsd.cn/h5/activity-2020-07-21/banner2.jpg',
-//                        'url'    => '/views/Activity',
-//                        'title'  => '活动2',
-//                        'params' => [
-//                            'token' => '312997fcd46e4b9bf441e0646fa03855'
-//                        ]
-//                    ]
-                ]
+                'home_alert'    => [],
+                'reader_banner' => []
             ]
         ];
 

+ 0 - 1
app/Modules/Push/Services/PushMessageService.php

@@ -33,7 +33,6 @@ class PushMessageService
         $pushUser  = QappPushUser::getPushUserByUid($uid);
         $regId     = getProp($pushUser, 'reg_id');
         $regIdList = [$regId];
-        myLog('push')->info('pushMessageToUser', compact('uid', 'title', 'content', 'url', 'pushUser'));
         if (empty($regId)) {
             Utils::throwError(ErrorConst::PUSH_TOKEN_INVALID);
         }