Kaynağa Gözat

第三方-淘宝客-更换接入应用

sunxbiao 8 ay önce
ebeveyn
işleme
4240caabc8
1 değiştirilmiş dosya ile 8 ekleme ve 4 silme
  1. 8 4
      app/controller/api/store/product/DaTaoKe.php

+ 8 - 4
app/controller/api/store/product/DaTaoKe.php

@@ -24,9 +24,12 @@ use function GuzzleHttp\Promise\iter_for;
24 24
  */
25 25
 class DaTaoKe
26 26
 {
27
-    public static $appKey = '6002a6fd58162';
28
-    public static $appSecret = '0e4f0cdf9b1a58d763bcb956b56578da';
29
-    public static $pid = 'mm_1411990095_2149000369_111007900247';//推广位ID
27
+    // public static $appKey = '6002a6fd58162';
28
+    // public static $appSecret = '0e4f0cdf9b1a58d763bcb956b56578da';
29
+    // public static $pid = 'mm_1411990095_2149000369_111007900247';//推广位ID
30
+    public static $appKey = '691e84c785246';
31
+    public static $appSecret = '6b701ad73c7cc4c2de56a4afcb876af2';
32
+    public static $pid = 'mm_9436146813_3362200454_116174700455';//推广位ID
30 33
 
31 34
     //大淘客生产签名方法
32 35
     public static function makeSign($data, $appSecret)
@@ -225,11 +228,12 @@ class DaTaoKe
225 228
                     'appKey' => self::$appKey,
226 229
                     'version' => 'v1.0.0',
227 230
                     'queryType' => $queryType,
228
-                    'pageSize' => 80,
231
+                    'pageSize' => 100,
229 232
                     'startTime' => $startTime,
230 233
                     'endTime' => $endTime,
231 234
                     //1:常规订单,2:渠道订单,3:会员运营订单 默认为1
232 235
                     'orderScene' => 2,
236
+                    'tkStatus' => 3
233 237
                 ];
234 238
                 $queryData['sign'] = self::makeSign($queryData, self::$appSecret);
235 239
                 $fullUrl = "{$url}?" . http_build_query($queryData);