diff --git a/WeChat/Contracts/BasicAliPay.php b/WeChat/Contracts/BasicAliPay.php index 36140ce..2f60801 100644 --- a/WeChat/Contracts/BasicAliPay.php +++ b/WeChat/Contracts/BasicAliPay.php @@ -183,7 +183,7 @@ abstract class BasicAliPay */ protected function applyData($options) { - $this->options['biz_content'] = json_encode($options, JSON_UNESCAPED_UNICODE); + $this->options['biz_content'] = json_encode($this->params->merge($options), JSON_UNESCAPED_UNICODE); $this->options['sign'] = $this->getSign(); } @@ -216,7 +216,7 @@ abstract class BasicAliPay protected function buildPayHtml() { $html = "