| 15:20:24.632 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 15:20:24.632 | trace | yii\base\Module::getModule | Loading module: debug |
| 15:20:24.633 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 15:20:24.633 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 15:20:24.633 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 15:20:24.635 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:20:24.635 | info | time tracing start | 1780644024635389952 |
| 15:20:24.635 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 15:20:24.635 | trace | yii\web\Application::handleRequest | Route requested: 'vue/contact/of-client' |
| 15:20:24.635 | trace | yii\base\Module::getModule | Loading module: vue |
| 15:20:24.639 | info | yii\web\Session::open | Session started |
| 15:20:24.640 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 15:20:24.640 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 15:20:24.642 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:20:24.642 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 15:20:24.643 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:20:24.644 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 15:20:24.644 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 15:20:24.644 | trace | yii\base\Controller::runAction | Route to run: vue/contact/of-client |
| 15:20:24.645 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:20:24.646 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 15:20:24.646 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\ContactController::actionOfClient() |
| 15:20:24.646 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE ("id"='3389') AND ("deleted"=FALSE) |
| 15:20:24.648 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:20:24.648 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 15:20:24.649 | 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"='3389' 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" |
| 15:20:24.652 | 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"='3389' 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 20 |
| 15:20:24.655 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:20:24.655 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 15:20:24.656 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "status" AS "name" FROM "a57be577deb434"."tbl_contact_statuses" WHERE "id"=2 |
| 15:20:24.656 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex", "user_status" FROM "a57be577deb434"."tbl_users" WHERE "id"=1011 |
| 15:20:24.658 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_contact_mobiles" WHERE "contact_id"=6130 |
| 15:20:24.660 | info | yii\db\Command::query | SELECT "object_id", count(*) as comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=14) AND ("object_id"=6130) GROUP BY "object_id" |
| 15:20:24.686 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=6130 |
| 15:20:24.687 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=11) AND ("id" IN (5, 226, 184, 349)) ORDER BY "sort" |
| 15:20:24.688 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=6130 |
| 15:20:24.688 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=12) AND ("id" IN (5, 226, 184, 349)) ORDER BY "sort" |
| 15:20:24.689 | info | yii\db\Command::query | SELECT "object_id", count(*) AS unread FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_type"=14) AND (remind_user_id = 1001 AND is_read = false) AND ("object_id"=6130) GROUP BY "object_id" |
| 15:20:24.710 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking permission: updateClientContact |
| 15:20:24.710 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: StoreKeeper |
| 15:20:24.710 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Engineer |
| 15:20:24.710 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 15:20:24.710 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:20:24.712 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:20:24.713 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:20:24.714 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 15:20:24.714 | info | yii\db\Command::query | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time", "duration") VALUES (200, 'a57be577deb434', 1001, 5, 'vue/contact/of-client', '{"id":"3389","page":"1","web_access_token":"l4p3M_87vSdo8QF-blMLH4iPaepKw7vp"}', '{"code":2000,"result":{"list":[{"id":6130,"name":"\u6731\u5ce5","email":"","pinyin_shortcut":"zz","sex":"M","birth_date":"","department":"","job_position":"","mobile":"","telephone":"63077228","client_id":3389,"supplier_id":"","created_by":1011,"created_at":"2025-08-21 12:25:13","updated_at":"2025-09-05 10:56:43","user_status":2,"description":"","contact_type":"1","contact_attitude":"","telephone_area_code":"010","telephone_extension_number":"","mp_open_id":"","pinyin1":"zhu","pinyin2":"zheng","pinyin3":"","pinyin4":"","namecut1":"\u6731","namecut2":"\u5ce5","namecut3":"","namecut4":"","is_mp_bind":false,"contactStatus":{"id":2,"key":2,"name":"\u5728\u804c"},"createdBy":{"id":1011,"key":1011,"name":"\u97e9\u96c5\u82b3","sex":"F","user_status":"1"},"mobiles":[{"id":6912,"contact_id":6130,"mobile":"13611303130","mp_open_id":"","mobile_display":"13611303130"}],"commentCount":{},"contactKeyRoles":[],"contactAttitude":{},"unreadComments":"","can_update":true,"can_delete":true,"name_display":"\u6731\u5ce5","email_display":"","telephone_display":"010-63077228","unread":0}],"can_create":true,"pagenation":{"totalcount":1,"thispage":1,"pagesize":20}},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"mod":0,"ip":"221.216.117.119","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:151.0) Gecko\/20100101 Firefox\/151.0"}', FALSE, '2026-06-05 15:20:24', 79335168) RETURNING "id" |
| 15:20:24.716 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:20:24.716 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |