|
@@ -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 ;
|