| 00:01:00.371 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 00:01:00.371 | trace | yii\base\Module::getModule | Loading module: debug |
| 00:01:00.371 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 00:01:00.372 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 00:01:00.372 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 00:01:00.372 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 00:01:00.372 | info | time tracing start | 1780848060372788992 |
| 00:01:00.372 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 00:01:00.372 | trace | yii\web\Application::handleRequest | Route requested: 'v2/client/list-document' |
| 00:01:00.372 | trace | yii\base\Module::getModule | Loading module: v2 |
| 00:01:00.373 | info | yii\web\Session::open | Session started |
| 00:01:00.374 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 00:01:00.374 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='R8ScrIY1ab3sgHgv8KlMKFukwMtD6QYC' |
| 00:01:00.375 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 00:01:00.376 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 00:01:00.376 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 00:01:00.376 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 00:01:00.376 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
| 00:01:00.377 | trace | yii\base\Controller::runAction | Route to run: v2/client/list-document |
| 00:01:00.378 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 00:01:00.379 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 00:01:00.379 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\ClientController::actionListDocument() |
| 00:01:00.379 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 00:01:00.381 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 00:01:00.382 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE ("id"='3432') AND ("deleted"=FALSE) AND (("sales_rep" IN (5049, 5301, 5022, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5047, 1026, 5096, 5070, 5448, 5420, 1029, 1001, 5037, 5087, 1008, 5048, 5043, 5045, 5230, 5031, 5088, 5208, 1003, 5467, 5294, 5357, 5044, 1030, 5076, 5300, 5027, 5089, 5311, 5066, 5069, 5364, 1009, 5295, 1013, 5128, 5203, 1025, 5032, 5075, 5476, 1004, 5072, 5033, 5359, 5412, 5409, 5229, 1005, 5304, 5449, 5358, 1006, 5093)) OR ("sales_rep" IS NULL) OR ("id" IN (SELECT "client_id" FROM "a57be577deb434"."tbl_user_visit_clients" WHERE "user_id"=1000))) |
| 00:01:00.384 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 00:01:00.384 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 00:01:00.384 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 00:01:00.385 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 00:01:00.385 | info | yii\db\Command::query | SELECT COUNT(*) FROM (SELECT cd.* FROM "a57be577deb434"."tbl_client_documents" "cd" WHERE "client_id"='3432' GROUP BY "cd"."id" ORDER BY "created_at" DESC) "c" |
| 00:01:00.386 | info | yii\db\Command::query | SELECT cd.* FROM "a57be577deb434"."tbl_client_documents" "cd" WHERE "client_id"='3432' GROUP BY "cd"."id" ORDER BY "created_at" DESC LIMIT 10 |
| 00:01:00.387 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex" FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 00:01:00.388 | info | yii\db\Command::query | SELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=1001) |
| 00:01:00.388 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "extension", "path", "orig_name" FROM "a57be577deb434"."tbl_attachments" WHERE "id"=32667 |
| 00:01:00.388 | info | yii\db\Command::query | SELECT "object_id", count(*) as comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=104) AND ("object_id"=1261) GROUP BY "object_id" |
| 00:01:00.412 | info | yii\db\Command::query | SELECT "object_id", count(*) AS unread FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_type"=104) AND (remind_user_id = 1000 AND is_read = false) AND ("object_id"=1261) GROUP BY "object_id" |
| 00:01:00.436 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_clients" WHERE "id"=3432 |
| 00:01:00.437 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 00:01:00.438 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 00:01:00.438 | 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/client/list-document', '{"access_token":"R8ScrIY1ab3sgHgv8KlMKFukwMtD6QYC","device_type":"2","id":"3432","page":"1","posttime":"1780848000","token":"966f355fafb403f49922df741f26fa6f","version_code":"1159"}', '{"code":200,"data":{"list":[{"id":1261,"attachment_id":32667,"client_id":3432,"title":"\u5ba2\u6237\u6587\u6848","description":"","created_by":1001,"created_at":"2026-05-08 12:25:20","updated_at":"2026-05-08 12:25:20","project_id":null,"case_id":null,"createdBy":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M","avatar":{"id":2,"user_id":1001,"name":"\/files\/cdn\/\/avatar\/e868e40f-1256-329e-9b1c-74e095049622.png"}},"attachment":{"id":32667,"key":32667,"name":"4e6eba93-89c2-35db-9d82-49b4a91fc5f7","extension":"pdf","path":"\/v2\/attachment\/preview\/R8ScrIY1ab3sgHgv8KlMKFukwMtD6QYC\/4e6eba93-89c2-35db-9d82-49b4a91fc5f7\/10-3.pdf","orig_name":"10-3.pdf"},"commentCount":null,"unreadComments":null,"client":{"id":3432,"key":3432,"name":"\u4e2d\u56fd\u6c11\u822a\u7ba1\u7406\u5e72\u90e8\u5b66\u9662"},"project":null,"case":null,"unread":0}],"pagenation":{"totalcount":1,"thispage":1,"pagesize":10}},"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:01:00', 65350912) RETURNING "id" |