|
|
@@ -35,6 +35,10 @@ class StatKdController extends Controller
|
|
|
}
|
|
|
$payWay = $order['payWay'] ?? 0;
|
|
|
$amount = $order['actPrice'] ?? 0;
|
|
|
+ $refundPrice = $order['refundPrice'] ?? 0;
|
|
|
+ if ($refundPrice > 0) {
|
|
|
+ $amount = bcadd($amount, $refundPrice, 2);
|
|
|
+ }
|
|
|
$shopId = $order['shopId'] ?? 0;
|
|
|
$shop = ShopClass::getLockById($shopId);
|
|
|
if (empty($shop)) {
|