浏览代码

debug custom order

zz 6 年之前
父节点
当前提交
b4c87b5be3
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      app/Http/Controllers/Wap/Book/ChapterController.php

+ 6 - 0
app/Http/Controllers/Wap/Book/ChapterController.php

@@ -1858,14 +1858,20 @@ class ChapterController extends BaseController
     private function customChapterOrderStats($fee)
     {
         //custom_290824
+        Log::info('customChapterOrderStats start');
+        Log::info($this->from_type);
         if(strpos($this->from_type,'custom') === false){
             return ;
         }
+
         $customer_id= str_ireplace('custom_','',$this->from_type);
+        Log::info($customer_id);
         if(!$customer_id || !is_numeric($customer_id)) return ;
         $info = Redis::hget('latestcustomerinfo',$customer_id);
         if(!$info) return ;
+        Log::info($info);
         $info_array = json_decode($info,1);
+        Log::info($info_array);
         $customer_bid = isset($info_array['bid'])?$info_array['bid']:0;
         $customer_send_time = isset($info_array['send_time'])?$info_array['send_time']:0;
         if(!$customer_bid || !$customer_send_time) return ;