From 92616ae73396e579da5fb2d14a1e40475f68e400 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=8A=80=E6=9C=AF=E8=80=81=E8=83=A1?= <1094551889@qq.com> Date: Mon, 28 Oct 2024 20:33:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/UserController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controller/UserController.php b/app/controller/UserController.php index d860454..59be72f 100644 --- a/app/controller/UserController.php +++ b/app/controller/UserController.php @@ -16,7 +16,7 @@ class UserController extends BaseController { $userinfo = User::find(\session('userid'))->toArray(); View::assign($userinfo); - View::assign('url', $this->request->domain()); + View::assign('url', $this->request->domain().'/'); $sign = md5($userinfo['pid'] . $userinfo['secret_key']); View::assign('orderurl', $this->request->domain() . "/checkOrder/{$userinfo['pid']}/{$sign}"); return View::fetch();