Commit 6eb4cac7 authored by christ's avatar christ

Merge branch 'master_dev' of git.shenbd.com:qm-develop/shenbd into ccw

parents 220b6061 8385955c
......@@ -414,7 +414,7 @@ class RefundReturnModel extends \DAO\AbstractModel
}
if (intval($orderInfo['payment_type']) == ApiConst::wxAppPayType) {
$wxpay = \Payment\WxPay::getInstance();
unset($param['subMchId']);
//unset($param['subMchId']);
$refund_return = $wxpay->refund($param);
$this->errorMessage = "微信返回:" . json_encode($refund_return);
if (!($refund_return['return_code'] == 'SUCCESS' && $refund_return['result_code'] == 'SUCCESS')) {
......@@ -469,7 +469,7 @@ class RefundReturnModel extends \DAO\AbstractModel
}
if (intval($orderInfo['paymentType']) == ApiConst::wxAppPayType) {
$wxpay = \Payment\WxPay::getInstance();
unset($param['subMchId']);
//unset($param['subMchId']);
$refund_return = $wxpay->refund($param);
$this->errorMessage = "微信返回:" . json_encode($refund_return);
if (!($refund_return['return_code'] == 'SUCCESS' && $refund_return['result_code'] == 'SUCCESS')) {
......
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