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