Kirin 3 年之前
父节点
当前提交
f2bde7ebd0
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      vendor/overtrue/wechat/src/Payment/API.php

+ 3 - 1
vendor/overtrue/wechat/src/Payment/API.php

@@ -578,7 +578,9 @@ class API extends AbstractAPI
             'check_name' => 'NO_CHECK',
             'amount' => $total_num,
             'desc' => $mark,
-            're_user_name' => ''
+            're_user_name' => '',
+            'mch_appid' => $this->merchant->app_id,
+            'mchid' => $this->merchant->merchant_id,
         ];
         return $this->safeRequest($this->wrapApi(self::api_batches), $params);
     }