更新细节
This commit is contained in:
parent
acce68dda1
commit
69d8bddcc7
|
@ -26,7 +26,6 @@ class OaApprove extends ApiController
|
||||||
//获取审批应用
|
//获取审批应用
|
||||||
public function app()
|
public function app()
|
||||||
{
|
{
|
||||||
$this->checkAuth();
|
|
||||||
$uid = JWT_UID;
|
$uid = JWT_UID;
|
||||||
$userInfo = Db::name('Admin')->where(['id' => $uid])->field(['id', 'username', 'name', 'email', 'mobile', 'sex', 'nickname', 'thumb', 'did', 'position_id', 'desc', 'entry_time'])->find();
|
$userInfo = Db::name('Admin')->where(['id' => $uid])->field(['id', 'username', 'name', 'email', 'mobile', 'sex', 'nickname', 'thumb', 'did', 'position_id', 'desc', 'entry_time'])->find();
|
||||||
$department = $userInfo['did'];
|
$department = $userInfo['did'];
|
||||||
|
|
Loading…
Reference in New Issue