From cd8c3f4d287cba65e13ebcdd3c1bfef8ff7480f0 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 5 Nov 2019 14:58:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=85=E5=80=BC=E6=9C=AA=E4=BC=98=E5=85=88?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=E5=B9=B3=E5=8F=B0=E5=B8=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Sdk/Controller/SpendController.class.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Application/Sdk/Controller/SpendController.class.php b/Application/Sdk/Controller/SpendController.class.php index 3d3f91e0..9a1da4a9 100644 --- a/Application/Sdk/Controller/SpendController.class.php +++ b/Application/Sdk/Controller/SpendController.class.php @@ -52,10 +52,10 @@ class SpendController extends Controller { die(); } $userId = M('user', 'tab_')->where(['user_token'=>$user_token])->getField('id'); - // if ($userId != $user_id) { - // echo "请重新登入!"; - // die(); - // } + if ($userId != $user_id) { + echo "请重新登入!"; + die(); + } C(BaseController::get_tool()); // pp(BaseController::get_tool());