|
|
@@ -204,6 +204,10 @@ class OrderController extends BaseController
|
|
|
OrderClass::onlinePrint($newOrder);
|
|
|
ShopExtClass::hdGatheringReport($newOrder);
|
|
|
|
|
|
+ $shopId = $newOrder->shopId ?? 0;
|
|
|
+ $shop = ShopClass::getById($shopId, true);
|
|
|
+ WxMessageClass::gatheringIncomeInform($shop, $newOrder);
|
|
|
+
|
|
|
util::success(['returnStatus' => 'SUCCESS']);
|
|
|
} else if ($payReturn["trade_state"] == "USERPAYING") {
|
|
|
//用户支付中
|
|
|
@@ -275,6 +279,10 @@ class OrderController extends BaseController
|
|
|
OrderClass::onlinePrint($newOrder);
|
|
|
ShopExtClass::hdGatheringReport($newOrder);
|
|
|
|
|
|
+ $shopId = $newOrder->shopId ?? 0;
|
|
|
+ $shop = ShopClass::getById($shopId, true);
|
|
|
+ WxMessageClass::gatheringIncomeInform($shop, $newOrder);
|
|
|
+
|
|
|
util::success(['returnStatus' => 'SUCCESS']);
|
|
|
}
|
|
|
} else {
|