diff --git a/app/common/logic/PayNotifyLogic.php b/app/common/logic/PayNotifyLogic.php index cbcbd9d44..e560ac23f 100644 --- a/app/common/logic/PayNotifyLogic.php +++ b/app/common/logic/PayNotifyLogic.php @@ -501,7 +501,7 @@ class PayNotifyLogic extends BaseLogic if ($order['other_uid'] > 0) { $uid = $order['other_uid']; } - if ($type == 'wechat') { + if ($type != 'wechat') { $cashFlowLogic = new CashFlowLogic(); $cashFlowLogic->insert($order['store_id'], $order['price'], $orderSn); }