|
|
@@ -10,6 +10,7 @@ use bizGhs\ghs\classes\GhsBalanceChangeClass;
|
|
|
use bizGhs\order\classes\OrderClearClass;
|
|
|
use bizGhs\order\classes\OrderClass;
|
|
|
use common\components\dict;
|
|
|
+use common\components\noticeUtil;
|
|
|
use common\components\util;
|
|
|
|
|
|
/**
|
|
|
@@ -346,6 +347,7 @@ class GhsRechargeSettleService
|
|
|
AccountMoneyClass::ensureGhsMoneyReady($ghs, true);
|
|
|
|
|
|
if (bccomp(self::money($custom->balance), self::money($ghs->balance), 2) !== 0) {
|
|
|
+ noticeUtil::push("客户的余额,和供货商端不一致,客户 ID:" . $custom->id . " 余额:" . $custom->balance . " 供货商 ID:" . $ghsId . ' 余额:' . $ghs->balance, '15280215347');
|
|
|
util::fail('余额有问题,请联系管理员');
|
|
|
}
|
|
|
|
|
|
@@ -513,7 +515,8 @@ class GhsRechargeSettleService
|
|
|
$actualPayWay,
|
|
|
$rechargeSource,
|
|
|
$deductBalance = false
|
|
|
- ) {
|
|
|
+ )
|
|
|
+ {
|
|
|
$notOnline = intval(dict::getDict('onlinePay', 'not'));
|
|
|
$yesOnline = intval(dict::getDict('onlinePay', 'yes'));
|
|
|
|