Commit aba76c12 authored by liuyuzhen's avatar liuyuzhen

支付调试

parent e407a3cd
......@@ -52,13 +52,13 @@ class PaymentServiceModel extends \Business\AbstractModel{
$param['pay_type'] = \Our\ApiConst::wxAppPayType;
}
$callbackInfo = $wxpay->getNotifyInfo();
\Our\Log::getInstance(json_encode($callbackInfo),'/data/log/apptest');
\Our\Log::getInstance()->write(json_encode($callbackInfo),'/data/log/apptest');
if($callbackInfo) {
//验证成功
$param['paySn'] = $callbackInfo['out_trade_no'];
$orderConfirmUtil = \Order\OrderConfirmUtil::getInstance();
$return = $orderConfirmUtil->updateOrderToPayed($param);
\Our\Log::getInstance(json_encode($return),'/data/log/apptest');
\Our\Log::getInstance()->write(json_encode($return),'/data/log/apptest');
if($return['flag']) {
echo $callbackInfo['returnXml'];
die;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment