From d2230637859618f228ce3caf9c77b091eb52d330 Mon Sep 17 00:00:00 2001 From: Anyon Date: Wed, 8 Jan 2020 17:22:34 +0800 Subject: [PATCH] Update Test.php --- app/wechat/controller/api/Test.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/wechat/controller/api/Test.php b/app/wechat/controller/api/Test.php index b46d3a383..58d81191b 100644 --- a/app/wechat/controller/api/Test.php +++ b/app/wechat/controller/api/Test.php @@ -96,7 +96,7 @@ class Test extends Controller 'body' => '测试商品', 'total_fee' => '1', 'trade_type' => 'NATIVE', - 'notify_url' => url('@wechat/api.test/notify', [], false, true), + 'notify_url' => url('@wechat/api.test/notify', [], false, true)->build(), 'out_trade_no' => CodeExtend::uniqidNumber(18), 'spbill_create_ip' => $this->request->ip(), ]); @@ -154,7 +154,7 @@ class Test extends Controller 'body' => "测试商品,产品ID:{$notify['product_id']}", 'total_fee' => '1', 'trade_type' => 'NATIVE', - 'notify_url' => url('@wechat/api.test/notify', [], false, true), + 'notify_url' => url('@wechat/api.test/notify', [], false, true)->build(), 'out_trade_no' => CodeExtend::uniqidDate(18), 'spbill_create_ip' => $this->request->ip(), ];