Browse Source

支付修改

lizhen_gitee 6 tháng trước cách đây
mục cha
commit
25320d5ad1
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      application/api/controller/Unishop.php

+ 1 - 0
application/api/controller/Unishop.php

@@ -76,6 +76,7 @@ class Unishop extends Api
             'method'       => $platform,
             'notifyurl' => config('pay_notify_url').'/api/unishop/order_notify_base/paytype/'.$pay_type,
             'returnurl' => '',
+            'openid'    => $this->auth->wxmini_openid,
         ];
 
         $res = Service::submitOrder($params);