|
@@ -48,6 +48,10 @@ class TikTokUserCharge implements ShouldQueue
|
|
|
'time' => $this->time,
|
|
|
'source' => 'wdy'
|
|
|
];
|
|
|
+
|
|
|
+ if( date('Y-m-d',strtotime( $this->time )) != date('Y-m-d')){
|
|
|
+ return ;
|
|
|
+ }
|
|
|
$params['sign'] = _sign($params, SysConsts::TIKTOK_KEY);
|
|
|
$url = 'https://newtrackapi.zhuishuyun.com/api/user/tiktokUserChargePush';
|
|
|
$response = $client->request('post', $url, ['form_params' => $params])->getBody()->getContents();
|