shish 1 year ago
parent
commit
7e35e879eb
1 changed files with 3 additions and 3 deletions
  1. 3 3
      app-ghs/controllers/TestController.php

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

@@ -705,17 +705,17 @@ class TestController extends BaseController
     //零售订单退款 ssh 20250611
     public function actionlsTradeRefund()
     {
-        $shopId = 1212;
+        $shopId = 36524;
         $shop = ShopClass::getById($shopId, true);
         if (empty($shop)) {
             util::stop('没有找到门店哦。编号6888173');
         }
-        $orderSn = 'KD26615541';
+        $orderSn = 'KD_CS61235490';
         $orderInfo = ClassesOrderClass::getByCondition(['orderSn' => $orderSn], true);
         if(!empty($orderInfo)){
             util::stop('有订单,不能走这个退款渠道');
         }
-        $order = ['orderSn' => $orderSn,'actPrice' => 100];
+        $order = ['orderSn' => $orderSn,'actPrice' => 0.2];
         $respond = HdRefundClass::onlyRefundAmount($shop, $order);
         echo "<pre>";
         print_r($respond);