|
|
@@ -84,8 +84,8 @@ class NoticeController extends PublicController
|
|
|
$remarkString = $orderTradeInfo['trade_remark'] ?? '';
|
|
|
$remarkData = json_decode($remarkString, true);
|
|
|
//流水类型
|
|
|
- $capitalType = isset($remarkData['capitalType']) ? $remarkData['capitalType'] : null;
|
|
|
- if (isset($capitalType) == false) {
|
|
|
+ $capitalType = $remarkData['capitalType'] ?? null;
|
|
|
+ if (!isset($capitalType)) {
|
|
|
noticeUtil::push('支付回调失败了,没有找到capitalType,orderSn:' . $orderSn . ' remark:' . $remarkString, '15280215347');
|
|
|
util::end();
|
|
|
}
|
|
|
@@ -99,7 +99,7 @@ class NoticeController extends PublicController
|
|
|
$payWayType = dict::getDict('payWay', 'alipay');
|
|
|
}
|
|
|
if ($payMode == 'WECHAT') {
|
|
|
- $payWayType = dict::getDict('wxPay', 'alipay');
|
|
|
+ $payWayType = dict::getDict('payWay', 'wxPay');
|
|
|
}
|
|
|
if (isset($payWayType) == false) {
|
|
|
noticeUtil::push('收银台支付回调验证失败了,没有找到支付方式,orderSn:' . $orderSn, '15280215347');
|