Commit f81d9fa1 authored by liuyuzhen's avatar liuyuzhen

小程序微信支付缺少openid

parent a6d4ee46
......@@ -47,6 +47,8 @@ class TencentPay {
$this->parameters['trade_type']= $this->tradeType;
//$this->parameters['openid']=$_SESSION['openid'];
//print_r($this->parameters);exit;
\Our\Log::getInstance()->write(json_encode($this->parameters));
$prepay_id = $this->getPrepayId();
$this->setPrepayId($prepay_id);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment