获取用户账号接口

master
zhengyongxing 5 years ago
parent 744cbcf7ea
commit 13232b3b04

@ -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);
}
}

Loading…
Cancel
Save