lvhao 2 天之前
父節點
當前提交
ef8bbd99d8
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      core/CoreApp/models/Model_apitt.php

+ 3 - 0
core/CoreApp/models/Model_apitt.php

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