Explorar el Código

Wesmiler 2021-0115第4期分销功能新增

wesmiler hace 5 años
padre
commit
dfadd202a1
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      app/weixin/model/Wechat.php

+ 2 - 2
app/weixin/model/Wechat.php

@@ -741,8 +741,8 @@ class Wechat
             return ['code' => 'error', 'message' => '参数错误'];
         }
         $unified = array(
-            'mch_appid' => $appId,
-            'mchid' => trim($mchId),
+            'appid' => $appId,
+            'mch_id' => trim($mchId),
             'nonce_str' => Wechat::createNonceStr(),
             'partner_trade_no' => $trane_order_no,
         );