mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update Test.php
This commit is contained in:
parent
c5b5f300b6
commit
b76d867c61
@ -76,8 +76,7 @@ class Test extends Controller
|
||||
public function scan_one_qrc()
|
||||
{
|
||||
$pay = WechatService::WePayOrder();
|
||||
$result = $pay->qrcParams('8888888');
|
||||
return $this->showQrc($result);
|
||||
return $this->showQrc($pay->qrcParams('8888888'));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -91,8 +90,7 @@ class Test extends Controller
|
||||
*/
|
||||
public function scan_two_qrc()
|
||||
{
|
||||
$pay = WechatService::WePayOrder();
|
||||
$result = $pay->create([
|
||||
$result = WechatService::WePayOrder()->create([
|
||||
'body' => '测试商品',
|
||||
'total_fee' => '1',
|
||||
'trade_type' => 'NATIVE',
|
||||
|
Loading…
x
Reference in New Issue
Block a user