Commit 9e09c671 by yeran

update

1 parent fdb80714
......@@ -29,6 +29,10 @@ class BackPubChargeData extends WxBaseData
'package' => 'prepay_id=' . $this->prepay_id,
'signType' => 'MD5',// 签名算法,暂支持MD5
];
if (!empty($this->sub_appid)) {
$this->retData['sub_appid'] = $this->sub_appid;
$this->retData['sub_mch_id'] = $this->sub_mch_id;
}
}
protected function checkDataParam()
......
......@@ -25,6 +25,9 @@ use Payment\Common\PayException;
* @property string $publicKeyPem 从获取RSA加密公钥API中得到的RSA公钥并进行将PKCS#1转为PKCS#8的pem格式文件
* @property string $tradeType 支付类型
* @property string $terminal_id 终端设备号(门店号或收银设备ID),默认请传"WEB"
* @property string $sub_appid
* @property string $sub_mch_id 终端设备号(门店号或收银设备ID),默认请传"WEB"
*
*
* @package Payment\Common\Weixin\Data
*/
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!