From 941f27e2e3324b7448764705e13ca9455c2c132d Mon Sep 17 00:00:00 2001 From: zhengyongxing Date: Tue, 21 Apr 2020 15:32:12 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8E=B7=E5=8F=96=E7=94=A8=E6=88=B7=E8=B4=A6?= =?UTF-8?q?=E5=8F=B7=E7=9A=84=E6=96=B9=E6=B3=95=E6=B7=BB=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controller/TimingController.class.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Application/Admin/Controller/TimingController.class.php b/Application/Admin/Controller/TimingController.class.php index a1aae43d4..9a800890b 100644 --- a/Application/Admin/Controller/TimingController.class.php +++ b/Application/Admin/Controller/TimingController.class.php @@ -325,4 +325,22 @@ class TimingController extends AdminController { } + public function getTogetherUserAccount() { + + if (I('user_id','')) { + $user_id = I('user_id',''); + } else { + return false; + } + + $data = M('user','tab_')->field('account')->where(['id'=>$user_id])->find(); +// var_dump($data); + if (!$data) { + return false; + } + + $this->ajaxReturn($data); + + } + }