stanley-king 7 years ago
parent
commit
78286e10b7
1 changed files with 2 additions and 1 deletions
  1. 2 1
      helper/pay_helper.php

+ 2 - 1
helper/pay_helper.php

@@ -86,7 +86,8 @@ class pay_helper
             }
             else if($payment == "jspay")
             {
-                $openid = session_helper::pub_openid();
+//                $openid = session_helper::pub_openid();
+                $openid = session_helper::unionid();
                 Log::record("openid = {$openid}",Log::DEBUG);
                 if(empty($openid)) {
                     $err = array('code' => errcode::ErrPayment, 'msg' => '微信未授权,不可以进行网页支付.');