更新 app/api/controller/TaskController.php
修复错误
This commit is contained in:
parent
217ec57a73
commit
5909269f33
@ -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