Merge branch 'feature/juhe_get_useraccount' of wmtx/platform into release

获取用户账号的接口添加
master
张谷诚 5 years ago committed by Gogs
commit 12c994b92e

@ -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