Explorar o código

debug custom order

zz %!s(int64=6) %!d(string=hai) anos
pai
achega
b4c87b5be3
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  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 ;