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());