Commit f9115b9c authored by liuyuzhen's avatar liuyuzhen

订单数据

parent 6236c0e5
......@@ -33,7 +33,7 @@ class Pay {
$orderInfo = $this->getOrder($wxFlag);
if($data['channel'] == \Our\NameConst::wxAppChannel){
$wxpay = WxPay::getInstance();
//$orderInfo['subMchId'] = '1517943841';
unset($orderInfo['subMchId']);
$return = $wxpay->doPay($orderInfo);
}else if($data['channel'] == \Our\NameConst::aliApiChannel){
$alipay= Alipay::getInstance();
......
......@@ -552,7 +552,7 @@ class StoreModel extends \DAO\AbstractModel
* @return array
*/
public function getStoreWxMchId($storeId){
$store = $this->get($storeId);
$store = $this->get($storeId,false);
$errorCode = 0;
$mchId = '';
if($store['wx_pay']){
......
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