10:44:18.172 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
10:44:18.172 | trace | yii\base\Module::getModule | Loading module: debug |
10:44:18.172 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
10:44:18.173 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
10:44:18.173 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
10:44:18.176 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:44:18.177 | trace | yii\base\Module::getModule | Loading module: gii |
10:44:18.177 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
10:44:18.178 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
10:44:18.178 | trace | yii\web\Application::handleRequest | Route requested: 'v2/task/of-client' |
10:44:18.178 | trace | yii\base\Module::getModule | Loading module: v2 |
10:44:18.212 | info | yii\web\Session::open | Session started |
10:44:18.213 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
10:44:18.216 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='c1glbS3oPWuii9fAd_nsZY9pK1ntZvhw' |
10:44:18.220 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:44:18.220 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:44:18.221 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:44:18.221 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:44:18.221 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5446 |
10:44:18.224 | trace | yii\base\Controller::runAction | Route to run: v2/task/of-client |
10:44:18.224 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\TaskController::actionOfClient() |
10:44:18.224 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE ("id"='3081') AND ("deleted"=FALSE) |
10:44:18.225 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:44:18.226 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:44:18.226 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:44:18.226 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:44:18.227 | info | yii\db\Command::query | SELECT COUNT(*) FROM (SELECT s.*, COALESCE(s.weight, 0) AS weight, target_completed_at - now() as remain FROM "a57be577deb434"."tbl_task_groups" "s" LEFT JOIN "a57be577deb434"."tbl_clients" "client" ON client.id = s.client_id AND client.deleted = FALSE LEFT JOIN "a57be577deb434"."tbl_task_group_user_relationships" "turs" ON s.id = turs.task_group_id LEFT JOIN "a57be577deb434"."tbl_task_group_head_of_relationships" "thrs" ON s.id = thrs.task_group_id WHERE (true) AND ("s"."client_id"=3081) GROUP BY "s"."id" ORDER BY "s"."created_at" DESC) "c" |
10:44:18.230 | info | yii\db\Command::query | SELECT s.*, COALESCE(s.weight, 0) AS weight, target_completed_at - now() as remain FROM "a57be577deb434"."tbl_task_groups" "s" LEFT JOIN "a57be577deb434"."tbl_clients" "client" ON client.id = s.client_id AND client.deleted = FALSE LEFT JOIN "a57be577deb434"."tbl_task_group_user_relationships" "turs" ON s.id = turs.task_group_id LEFT JOIN "a57be577deb434"."tbl_task_group_head_of_relationships" "thrs" ON s.id = thrs.task_group_id WHERE (true) AND ("s"."client_id"=3081) GROUP BY "s"."id" ORDER BY "s"."created_at" DESC LIMIT 10 |
10:44:18.233 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:44:18.234 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:44:18.235 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:44:18.236 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking permission: createWorkLog |
10:44:18.236 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Engineer |
10:44:18.236 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: TechDirector |
10:44:18.236 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: SalesDirector |
10:44:18.236 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: ProjectManager |
10:44:18.236 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: 电话销售 |
10:44:18.236 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: SalesManager |
10:44:18.236 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
10:44:18.236 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: 人力资源 |
10:44:18.237 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:44:18.237 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:44:18.237 | info | yii\db\Command::query | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "version_code", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 5446, 2, 1147, 'v2/task/of-client', '{"access_token":"c1glbS3oPWuii9fAd_nsZY9pK1ntZvhw","device_type":"2","id":"3081","page":"1","posttime":"1756521856","token":"06b8f79b2a1048b37f25094373202e74","version_code":"1147"}', '{"code":200,"data":{"list":[],"pagenation":{"totalcount":0,"thispage":1,"pagesize":10},"can_create":true},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}]}', FALSE, '2025-08-30 10:44:18') RETURNING "id" |