Merge pull request 'preview' (#183) from preview into master

Reviewed-on: #183
This commit is contained in:
mkm 2023-12-18 10:52:02 +08:00
commit 39b3e28e07

View File

@ -50,7 +50,7 @@ class TaskController extends BaseApiController
// $where[] = ['company_id', '=', $this->userInfo['company_id']];
}
if ($this->userInfo['admin_id'] != 0) {
$where[] = ['company_id', '=', $this->userInfo['company_id']];
$where = ['company_id', '=', $this->userInfo['company_id']];
}
if (isset($param['date_time']) && $param['date_time'] != '') {
$time = strtotime($param['date_time']);