소스 검색

支付修改

lizhen_gitee 6 달 전
부모
커밋
25320d5ad1
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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);