lizhen_gitee hai 6 meses
pai
achega
25320d5ad1
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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);