shish 5 months ago
parent
commit
a18f32d5bf
1 changed files with 4 additions and 4 deletions
  1. 4 4
      app-ghs/controllers/TestController.php

+ 4 - 4
app-ghs/controllers/TestController.php

@@ -844,7 +844,7 @@ class TestController extends BaseController
     //零售订单查询 ssh 20231031
     //零售订单查询 ssh 20231031
     public function actionLsTradeQuery()
     public function actionLsTradeQuery()
     {
     {
-        $shopId = 77702;
+        $shopId = 80133;
         $shop = ShopClass::getById($shopId, true);
         $shop = ShopClass::getById($shopId, true);
         if (empty($shop)) {
         if (empty($shop)) {
             util::stop('没有找到门店21');
             util::stop('没有找到门店21');
@@ -861,10 +861,10 @@ class TestController extends BaseController
         ];
         ];
         $laResource = new Lakala($params);
         $laResource = new Lakala($params);
         $queryParams = [
         $queryParams = [
-            //'orderSn' => 'KD26649644',
-            'tradeNo' => '20251202110113130166223147061801',
+            'orderSn' => 'KD26700852',
+            //'tradeNo' => '20251202110113130166223147061801',
         ];
         ];
-        $response = $laResource->query($queryParams, 1);
+        $response = $laResource->query($queryParams, 0);
         print_r($response);
         print_r($response);
         util::stop();
         util::stop();
         if (isset($response['code']) && $response['code'] == 'BBS00000') {
         if (isset($response['code']) && $response['code'] == 'BBS00000') {