Commit d4231727 by 冷斌

fix bug

parent 48bd27d5
...@@ -43,8 +43,12 @@ class RechangeController extends HomebaseController ...@@ -43,8 +43,12 @@ class RechangeController extends HomebaseController
public function wx() public function wx()
{ {
var_dump($this->getPay()); return $this->getPay()->driver('wechat')->gateway('wap')->pay([
die; 'out_trade_no' => '128047_20200426175416265', // 订单号
'total_fee' => '1', // 订单金额,**单位:分**
'body' => '测试支付', // 订单描述
// 'spbill_create_ip' => '', // 支付人的 IP
]);
} }
} }
......
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