获取用户账号的接口添加
@ -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) {
$this->ajaxReturn($data);