From d219da7cc8b9b45bb9b0024e5d3d11f16d12584e Mon Sep 17 00:00:00 2001 From: Jason Date: Fri, 9 Sep 2022 13:31:08 +0800 Subject: [PATCH] view --- app/controller/Wechat.php | 3 ++- {view => app/view}/README.md | 0 app/view/wechat/payment.html | 10 ++++++++++ 3 files changed, 12 insertions(+), 1 deletion(-) rename {view => app/view}/README.md (100%) create mode 100644 app/view/wechat/payment.html diff --git a/app/controller/Wechat.php b/app/controller/Wechat.php index ded2a20..c7eb318 100644 --- a/app/controller/Wechat.php +++ b/app/controller/Wechat.php @@ -6,6 +6,7 @@ use EasyWeChat\Factory; use EasyWeChat\OfficialAccount\Application; use think\facade\Config; use think\facade\Route; +use think\facade\View; class Wechat { @@ -67,7 +68,7 @@ class Wechat */ public function payment() { - + return View::fetch(); } /** diff --git a/view/README.md b/app/view/README.md similarity index 100% rename from view/README.md rename to app/view/README.md diff --git a/app/view/wechat/payment.html b/app/view/wechat/payment.html new file mode 100644 index 0000000..520f874 --- /dev/null +++ b/app/view/wechat/payment.html @@ -0,0 +1,10 @@ + + + + + Title + + +

支付页面

+ + \ No newline at end of file