|
@@ -175,6 +175,9 @@ function __construct(){
|
|
|
|
|
|
public function get_data($list,$shop)
|
|
public function get_data($list,$shop)
|
|
{
|
|
{
|
|
|
|
+ if(empty($list)){
|
|
|
|
+ return [];
|
|
|
|
+ }
|
|
$url = 'https://open-api.tiktokglobalshop.com';
|
|
$url = 'https://open-api.tiktokglobalshop.com';
|
|
$link = '/order/202309/orders';
|
|
$link = '/order/202309/orders';
|
|
$time = time();
|
|
$time = time();
|