[更新]修复企业打款描述参数

This commit is contained in:
Anyon 2018-06-14 10:12:58 +08:00
parent 31fce9dfa0
commit a9b26e3897

View File

@ -53,7 +53,7 @@ class TransfersBank extends BasicPay
if (!isset($options['amount'])) {
throw new InvalidArgumentException('Missing Options -- [amount]');
}
isset($options['desc']) && $this->params['desc'] = $options['desc'];
isset($options['desc']) && $this->params->set('desc', $options['desc']);
$this->params->offsetUnset('appid');
return $this->callPostApi('https://api.mch.weixin.qq.com/mmpaysptrans/pay_bank', [
'amount' => $options['amount'],