Commit 92a1c24c by 冷斌

fix bug

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