Merge pull request '更新 app/api/controller/TaskController.php' (#38) from mkm-2 into master
Reviewed-on: #38
This commit is contained in:
commit
867c41ef6b
@ -18,6 +18,7 @@ class TaskController extends BaseApiController
|
||||
{
|
||||
$param = Request()->param();
|
||||
[$page, $limit] = $this->getPage();
|
||||
$time = strtotime(date('Y-m-d'));
|
||||
if ($this->userInfo['admin_id'] != 0) {
|
||||
$where[] = ['company_id', '=', $this->userInfo['company_id']];
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user