|
@@ -116,7 +116,9 @@ function __construct(){
|
|
|
{
|
|
|
//limit=100&fulfillment_status=unshipped&financial_status=paid&status=open&created_at_max=2025-07-16T00:00:00Z&gateway=klarna
|
|
|
//limit=100&fulfillment_status=unshipped&financial_status=paid&status=open&created_at_min=2025-07-16T00:00:00Z&gateway=klarna
|
|
|
- $post['shopify'] = $shopapi.'?limit=100&fulfillment_status=unshipped&financial_status=paid&status=open&created_at_min='.date('c',time()-3600*24*2);//?status=any所有订单 &limit=200每页多少单
|
|
|
+ $post['shopify'] = $shopapi.'?limit=10&id=5907832471740';
|
|
|
+ // $post['shopify'] = $shopapi.'?limit=100&fulfillment_status=unshipped&financial_status=paid&status=open&created_at_min='.date('c',time()-3600*24*2);//?status=any所有订单 &limit=200每页多少单
|
|
|
+
|
|
|
$ch = curl_init();
|
|
|
curl_setopt($ch,CURLOPT_URL,'https://edm.alipearl.net/soapapi.php');
|
|
|
curl_setopt($ch, CURLOPT_POST, 1);
|
|
@@ -151,9 +153,9 @@ function __construct(){
|
|
|
$quantity .= floor($val['quantity']).';';
|
|
|
$parameters[] = $val['variant_title'];
|
|
|
}
|
|
|
- if(strpos($v['name'],"#M-") !== false){
|
|
|
- continue;
|
|
|
- }
|
|
|
+ // if(strpos($v['name'],"#M-") !== false){
|
|
|
+ // continue;
|
|
|
+ // }
|
|
|
if(isset($v['gateway'])){
|
|
|
if(stripos($v['gateway'],'shopify_') !== false)
|
|
|
{
|