|
@@ -44,6 +44,11 @@ class TikTokUserCharge implements ShouldQueue
|
|
|
public function handle()
|
|
|
{
|
|
|
$client = new Client();
|
|
|
+ if(empty($this->time)){
|
|
|
+ \Log::info('origin_params:'.$this->time);
|
|
|
+ $this->time = date('Y-m-d H:i:s');
|
|
|
+ }
|
|
|
+
|
|
|
$params = [
|
|
|
'uid' => $this->uid,
|
|
|
'amount' => $this->amount,
|
|
@@ -51,6 +56,7 @@ class TikTokUserCharge implements ShouldQueue
|
|
|
'source' => 'wdy'
|
|
|
];
|
|
|
|
|
|
+
|
|
|
\Log::info('TikTokUserCharge:'.json_encode($params));
|
|
|
|
|
|
// if( date('Y-m-d',strtotime( $this->time )) != date('Y-m-d')){
|