|
@@ -450,7 +450,7 @@ class RefillBase
|
|
|
|
|
|
if (empty($providers)) {
|
|
|
Log::record("canot find any providers", Log::DEBUG);
|
|
|
- return [errcode::CANNOT_MATCH_PROVIDER, "匹配不到合适的充值通道", $last_orderid, false, 0];
|
|
|
+ return [errcode::CANNOT_MATCH_PROVIDER, "匹配不到任何通道", $last_orderid, false, 0];
|
|
|
}
|
|
|
|
|
|
try
|
|
@@ -472,8 +472,9 @@ class RefillBase
|
|
|
|
|
|
$available = $minfo->available_predeposit();
|
|
|
if ($mch_amount > $available) {
|
|
|
- Log::record("下单时机构余额不足,可用余额为:$available", Log::DEBUG);
|
|
|
- return [errcode::MERCHANT_SHORT_MONEY, "余额不足支付订单",$last_orderid,false,0];
|
|
|
+ $errmsg = "余额不足=$available";
|
|
|
+ Log::record($errmsg, Log::DEBUG);
|
|
|
+ return [errcode::MERCHANT_SHORT_MONEY, $errmsg,$last_orderid,false,0];
|
|
|
}
|
|
|
|
|
|
foreach ($providers as $provider)
|