| 23:12:58.448 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 23:12:58.448 | trace | yii\base\Module::getModule | Loading module: debug |
| 23:12:58.449 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 23:12:58.449 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 23:12:58.450 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 23:12:58.450 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 23:12:58.451 | info | time tracing start | 1783869178451518976 |
| 23:12:58.452 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 23:12:58.452 | trace | yii\web\Application::handleRequest | Route requested: 'v2/schedule/of-client' |
| 23:12:58.452 | trace | yii\base\Module::getModule | Loading module: v2 |
| 23:12:58.455 | info | yii\web\Session::open | Session started |
| 23:12:58.457 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 23:12:58.464 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='lLLCHpZSQkMu0_ceemp9PVo8_3HEKkFC' |
| 23:12:58.468 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 23:12:58.468 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 23:12:58.469 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 23:12:58.470 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 23:12:58.470 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 23:12:58.473 | trace | yii\base\Controller::runAction | Route to run: v2/schedule/of-client |
| 23:12:58.473 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 23:12:58.477 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 23:12:58.477 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\ScheduleController::actionOfClient() |
| 23:12:58.477 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE ("id"='3009') AND ("deleted"=FALSE) |
| 23:12:58.479 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 23:12:58.479 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 23:12:58.481 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 23:12:58.481 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 23:12:58.482 | info | yii\db\Command::query | SELECT COUNT(*) FROM (SELECT
s.*,
CASE WHEN is_complete = true then 3
WHEN is_complete = false and end_at <= NOW() then 2
else 1 END AS sort
FROM "a57be577deb434"."tbl_schedules" "s" LEFT JOIN "a57be577deb434"."tbl_users" "u" ON u.id = s.created_by LEFT JOIN "a57be577deb434"."tbl_clients" "c" ON c.id = s.client_id LEFT JOIN "a57be577deb434"."tbl_schedule_carbon_copy_rels" "ccr" ON ccr.schedule_id = s.id WHERE (1=1) AND ("s"."client_id"=3009) AND ((("s"."is_public"=1) AND ("s"."created_by" != 1001)) OR ("s"."created_by"=1001) OR ("ccr"."user_id"=1001)) GROUP BY "s"."id" ORDER BY "s"."is_complete", "s"."end_at" DESC, "s"."created_at" DESC) "c" |
| 23:12:58.486 | info | yii\db\Command::query | SELECT
s.*,
CASE WHEN is_complete = true then 3
WHEN is_complete = false and end_at <= NOW() then 2
else 1 END AS sort
FROM "a57be577deb434"."tbl_schedules" "s" LEFT JOIN "a57be577deb434"."tbl_users" "u" ON u.id = s.created_by LEFT JOIN "a57be577deb434"."tbl_clients" "c" ON c.id = s.client_id LEFT JOIN "a57be577deb434"."tbl_schedule_carbon_copy_rels" "ccr" ON ccr.schedule_id = s.id WHERE (1=1) AND ("s"."client_id"=3009) AND ((("s"."is_public"=1) AND ("s"."created_by" != 1001)) OR ("s"."created_by"=1001) OR ("ccr"."user_id"=1001)) GROUP BY "s"."id" ORDER BY "s"."is_complete", "s"."end_at" DESC, "s"."created_at" DESC LIMIT 10 |
| 23:12:58.487 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 23:12:58.489 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 23:12:58.492 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 23:12:58.492 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 23:12:58.492 | 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", "duration") VALUES (200, 'a57be577deb434', 1001, 0, 276, 'v2/schedule/of-client', '{"access_token":"lLLCHpZSQkMu0_ceemp9PVo8_3HEKkFC","device_type":"0","version_code":"276","id":"3009","page":"1","token":"ea77be4c3bccd4f10af149e06d81c561","posttime":"1783869178","pagesize":"10"}', '{"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":""}],"ip":"223.74.191.180","ua":"jinchangxiao\/2.3.176 (XiaomiMi 10; Android 13)"}', FALSE, '2026-07-12 23:12:58', 41057024) RETURNING "id" |