소스 검색

cancel stats smartPushTestBookPayPageUv and smartPushTestBookPaidUv

zz 6 년 전
부모
커밋
482ed0b219
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      app/Http/Controllers/Wap/Book/ChapterController.php
  2. 2 2
      app/Http/Controllers/Wap/Pay/OrdersController.php

+ 1 - 1
app/Http/Controllers/Wap/Book/ChapterController.php

@@ -610,7 +610,7 @@ class ChapterController extends BaseController
                 $my_log->info('user balance is: '.$user_info['balance']);
                 $my_log->info('fee is: '.$fee);
             }
-            $this->smartPushTestBookPayPageUv($bid);
+            //$this->smartPushTestBookPayPageUv($bid);
             //$this->sendOrderPayPageUv($bid);
             //除了单本订购 其他的都不提醒,直接跳转到充值页面
             if ($book_info->charge_type == 'CHAPTER') {

+ 2 - 2
app/Http/Controllers/Wap/Pay/OrdersController.php

@@ -1713,8 +1713,8 @@ class OrdersController extends Controller
         $smart_bid = ReadRecordService::getSmartPush($uid);
         if ($smart_bid && in_array($bid, $smart_bid)) {
             try {
-                $key = 'smartPushTestBookPaidUv:bid:%s';
-                Redis::sadd(sprintf($key, $bid), $uid);
+                //$key = 'smartPushTestBookPaidUv:bid:%s';
+                //Redis::sadd(sprintf($key, $bid), $uid);
                 $now_amount = Redis::hget('smartPushTestBookPaidAmount', $bid);
                 if (!$now_amount) {
                     $now_amount = 0;