| 00:00:58.195 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 00:00:58.195 | trace | yii\base\Module::getModule | Loading module: debug |
| 00:00:58.196 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 00:00:58.196 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 00:00:58.197 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 00:00:58.198 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 00:00:58.200 | info | time tracing start | 1780848058200851968 |
| 00:00:58.201 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 00:00:58.201 | trace | yii\web\Application::handleRequest | Route requested: 'v2/schedule/of-client' |
| 00:00:58.201 | trace | yii\base\Module::getModule | Loading module: v2 |
| 00:00:58.349 | info | yii\web\Session::open | Session started |
| 00:00:58.349 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 00:00:58.351 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='R8ScrIY1ab3sgHgv8KlMKFukwMtD6QYC' |
| 00:00:58.353 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 00:00:58.353 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 00:00:58.353 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 00:00:58.353 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 00:00:58.354 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
| 00:00:58.354 | trace | yii\base\Controller::runAction | Route to run: v2/schedule/of-client |
| 00:00:58.355 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 00:00:58.356 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 00:00:58.356 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\ScheduleController::actionOfClient() |
| 00:00:58.357 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE ("id"='3432') AND ("deleted"=FALSE) |
| 00:00:58.357 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 00:00:58.358 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 00:00:58.358 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 00:00:58.358 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 00:00:58.359 | 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"=3432) AND ((("s"."is_public"=1) AND ("s"."created_by" != 1000)) OR ("s"."created_by"=1000) OR ("ccr"."user_id"=1000)) GROUP BY "s"."id" ORDER BY "s"."is_complete", "s"."end_at" DESC, "s"."created_at" DESC) "c" |
| 00:00:58.361 | 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"=3432) AND ((("s"."is_public"=1) AND ("s"."created_by" != 1000)) OR ("s"."created_by"=1000) OR ("ccr"."user_id"=1000)) GROUP BY "s"."id" ORDER BY "s"."is_complete", "s"."end_at" DESC, "s"."created_at" DESC LIMIT 10 |
| 00:00:58.365 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 00:00:58.366 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 00:00:58.368 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 00:00:58.368 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 00:00:58.368 | 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', 1000, 2, 1159, 'v2/schedule/of-client', '{"access_token":"R8ScrIY1ab3sgHgv8KlMKFukwMtD6QYC","device_type":"2","id":"3432","posttime":"1780848000","token":"f85eb9180a356bc62dae557cacb8ea8f","version_code":"1159"}', '{"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":"111.9.5.86","ua":"jinchangxiao\/2.3.156 (iPhone 12 mini; iOS 26.2; Scale\/3.00)"}', FALSE, '2026-06-08 00:00:58', 167457024) RETURNING "id" |