payStatus = self::PAY_STATUS_HAS_PAY; $recharge->save(); $orderSn = $recharge->orderSn; $shopId = $recharge->shopId; $shop = ShopClass::getById($shopId, true); if (empty($shop)) { noticeUtil::push("充值支付回调通知,没有找到门店79 orderSn:{$orderSn}"); return false; } $amount = $recharge->amount; ShopClass::rechargeAddBalance($shop, $amount); } }