| Time | Level | Category | Message |
|---|---|---|---|
| 10:12:12.164 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 10:12:12.164 | trace | yii\base\Module::getModule | Loading module: debug |
| 10:12:12.165 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 10:12:12.167 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 10:12:12.167 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 10:12:12.167 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 10:12:12.168 | info | time tracing start | 1781662332168188928 |
| 10:12:12.168 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 10:12:12.168 | trace | yii\web\Application::handleRequest | Route requested: 'v2/contact/of-client' |
| 10:12:12.168 | trace | yii\base\Module::getModule | Loading module: v2 |
| 10:12:12.197 | info | yii\web\Session::open | Session started |
| 10:12:12.198 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 10:12:12.199 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='R8ScrIY1ab3sgHgv8KlMKFukwMtD6QYC' |
| 10:12:12.200 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 10:12:12.200 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 10:12:12.200 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 10:12:12.201 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 10:12:12.201 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
| 10:12:12.202 | trace | yii\base\Controller::runAction | Route to run: v2/contact/of-client |
| 10:12:12.203 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 10:12:12.204 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 10:12:12.205 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\ContactController::actionOfClient() |
| 10:12:12.205 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE ("id"='2166') AND ("deleted"=FALSE) |
| 10:12:12.205 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 10:12:12.206 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 10:12:12.206 | info | yii\db\Command::query | SELECT COUNT(*) FROM (SELECT c.*, CASE WHEN count(cm.id) != 0 THEN 1 ELSE null END as mp_open_id FROM "a57be577deb434"."tbl_contacts" "c" LEFT JOIN "a57be577deb434"."tbl_clients" "client" ON client.id = c.client_id LEFT JOIN "a57be577deb434"."tbl_contact_mobiles" "cm" ON c.id = cm.contact_id AND cm.mp_open_id IS NOT NULL WHERE "client"."id"='2166' GROUP BY "c"."id" ORDER BY (case c.user_status when 3 then 1 when 1 then 0 else c.user_status end) DESC, c.updated_at DESC) "c" |
| 10:12:12.210 | info | yii\db\Command::query | SELECT c.*, CASE WHEN count(cm.id) != 0 THEN 1 ELSE null END as mp_open_id FROM "a57be577deb434"."tbl_contacts" "c" LEFT JOIN "a57be577deb434"."tbl_clients" "client" ON client.id = c.client_id LEFT JOIN "a57be577deb434"."tbl_contact_mobiles" "cm" ON c.id = cm.contact_id AND cm.mp_open_id IS NOT NULL WHERE "client"."id"='2166' GROUP BY "c"."id" ORDER BY (case c.user_status when 3 then 1 when 1 then 0 else c.user_status end) DESC, c.updated_at DESC LIMIT 10 |
| 10:12:12.213 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 10:12:12.213 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 10:12:12.215 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_contact_statuses" WHERE "id"=2 |
| 10:12:12.215 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex" FROM "a57be577deb434"."tbl_users" WHERE "id" IN (5300, 5015) |
| 10:12:12.216 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_contact_key_roles" WHERE "contact_id" IN (4823, 3942) ORDER BY "key_role" |
| 10:12:12.218 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_contact_mobiles" WHERE "contact_id" IN (4823, 3942) |
| 10:12:12.219 | info | yii\db\Command::query | SELECT "object_id", count(*) as comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=14) AND ("object_id" IN (4823, 3942)) GROUP BY "object_id" |
| 10:12:12.251 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id" IN (4823, 3942) |
| 10:12:12.251 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=11) AND ("id" IN (2, 164, 142, 184, 189, 349, 369, 1, 185, 192, 348)) ORDER BY "sort" |
| 10:12:12.252 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id" IN (4823, 3942) |
| 10:12:12.253 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=12) AND ("id" IN (2, 164, 142, 184, 189, 349, 369, 1, 185, 192, 348)) ORDER BY "sort" |
| 10:12:12.254 | info | yii\db\Command::query | SELECT "object_id", count(*) AS unread FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_type"=14) AND (remind_user_id = 1000 AND is_read = false) AND ("object_id" IN (4823, 3942)) GROUP BY "object_id" |
| 10:12:12.286 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking permission: updateClientContact |
| 10:12:12.286 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: StoreKeeper |
| 10:12:12.286 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Engineer |
| 10:12:12.286 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 10:12:12.286 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 10:12:12.287 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 10:12:12.290 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 10:12:12.290 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 10:12:12.290 | 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, 6, 177, 'v2/contact/of-client', '{"id":"2166","page":"1","posttime":"1781662332","access_token":"R8ScrIY1ab3sgHgv8KlMKFukwMtD6QYC","device_type":"6","version_code":"177","token":"d7ece558edcf6ef43ed48e22684bebc0"}', '{"code":200,"data":{"list":[{"id":4823,"name":"\u7530\u6d69","email":"","pinyin_shortcut":"th","sex":"M","birth_date":null,"department":"IT","job_position":"","mobile":"","telephone":"","client_id":2166,"supplier_id":null,"created_by":5300,"created_at":"2023-09-15 14:43:36","updated_at":"2023-09-15 14:43:36","user_status":2,"description":"","contact_type":"1","contact_attitude":null,"telephone_area_code":"","telephone_extension_number":"","mp_open_id":null,"pinyin1":"tian","pinyin2":"hao","pinyin3":null,"pinyin4":null,"namecut1":"\u7530","namecut2":"\u6d69","namecut3":null,"namecut4":null,"is_mp_bind":false,"contactStatus":{"id":2,"status":"\u5728\u804c","description":"\u5728\u804c","created_by":1000,"created_at":"2016-10-31 21:28:36","updated_at":"2016-10-31 21:28:40"},"createdBy":{"id":5300,"key":5300,"name":"\u82cf\u6e05\u4e91","sex":"F"},"keyRoles":[],"mobiles":[{"id":5618,"contact_id":4823,"mobile":"13699267580","mp_open_id":null,"mobile_display":"13699267580"}],"commentCount":null,"contactKeyRoles":[],"contactAttitude":null,"unreadComments":null,"can_update":true,"can_delete":true,"name_display":"\u7530\u6d69","telephone_display":"","unread":0,"bind_status":0,"bind_status_display":"\u672a\u8ba4\u8bc1"},{"id":3942,"name":"\u5218\u65fa","email":"","pinyin_shortcut":"lw","sex":"M","birth_date":null,"department":"","job_position":"","mobile":"18611414866","telephone":"","client_id":2166,"supplier_id":null,"created_by":5015,"created_at":"2022-03-21 16:38:39","updated_at":"2023-09-15 11:13:22","user_status":2,"description":"","contact_type":"1","contact_attitude":null,"telephone_area_code":"","telephone_extension_number":"","mp_open_id":1,"pinyin1":"liu","pinyin2":"wang","pinyin3":"sheng","pinyin4":null,"namecut1":"\u5218","namecut2":"\u65fa","namecut3":"\u751f","namecut4":null,"is_mp_bind":true,"contactStatus":{"id":2,"status":"\u5728\u804c","description":"\u5728\u804c","created_by":1000,"created_at":"2016-10-31 21:28:36","updated_at":"2016-10-31 21:28:40"},"createdBy":{"id":5015,"key":5015,"name":"\u5f20\u96ea\u677e","sex":"F"},"keyRoles":[],"mobiles":[{"id":4760,"contact_id":3942,"mobile":"18611414866","mp_open_id":"oagch6a9_rIc-YEEqqUmrkjyDIXA","mobile_display":"18611414866"}],"commentCount":null,"contactKeyRoles":[],"contactAttitude":null,"unreadComments":null,"can_update":true,"can_delete":true,"name_display":"\u5218\u65fa","telephone_display":"","unread":0,"bind_status":1,"bind_status_display":"\u5df2\u8ba4\u8bc1"}],"pagenation":{"totalcount":2,"thispage":1,"pagesize":10}},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"ip":"39.156.194.178","ua":"jinchangxiao\/1.0.41 (HUAWEI Mate 60 BRA-AL00; HarmonyOS 6.1.0)"}', FALSE, '2026-06-17 10:12:12', 122273024) RETURNING "id" |