| 17:55:35.842 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 17:55:35.842 | trace | yii\base\Module::getModule | Loading module: debug |
| 17:55:35.842 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 17:55:35.842 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 17:55:35.842 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 17:55:35.843 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:55:35.843 | info | time tracing start | 1780912535843881984 |
| 17:55:35.844 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 17:55:35.844 | trace | yii\web\Application::handleRequest | Route requested: 'v2/contact/of-client' |
| 17:55:35.844 | trace | yii\base\Module::getModule | Loading module: v2 |
| 17:55:35.844 | info | yii\web\Session::open | Session started |
| 17:55:35.845 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 17:55:35.845 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='lLLCHpZSQkMu0_ceemp9PVo8_3HEKkFC' |
| 17:55:35.846 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:55:35.847 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:55:35.847 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:55:35.847 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:55:35.847 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 17:55:35.848 | trace | yii\base\Controller::runAction | Route to run: v2/contact/of-client |
| 17:55:35.848 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:55:35.850 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 17:55:35.850 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\ContactController::actionOfClient() |
| 17:55:35.850 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE ("id"='3432') AND ("deleted"=FALSE) |
| 17:55:35.851 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:55:35.851 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:55:35.852 | 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"='3432' 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" |
| 17:55:35.855 | 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"='3432' 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 |
| 17:55:35.858 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:55:35.858 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:55:35.859 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_contact_statuses" WHERE "id"=2 |
| 17:55:35.859 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex" FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 17:55:35.860 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_contact_key_roles" WHERE "contact_id"=6209 ORDER BY "key_role" |
| 17:55:35.860 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_contact_mobiles" WHERE "contact_id"=6209 |
| 17:55:35.861 | info | yii\db\Command::query | SELECT "object_id", count(*) as comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=14) AND ("object_id"=6209) GROUP BY "object_id" |
| 17:55:35.888 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=6209 |
| 17:55:35.889 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=11) AND ("id" IN (1, 184, 349)) ORDER BY "sort" |
| 17:55:35.889 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=6209 |
| 17:55:35.890 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=12) AND ("id" IN (1, 184, 349)) ORDER BY "sort" |
| 17:55:35.890 | 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"=6209) GROUP BY "object_id" |
| 17:55:35.910 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking permission: updateClientContact |
| 17:55:35.910 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: StoreKeeper |
| 17:55:35.910 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Engineer |
| 17:55:35.910 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 17:55:35.911 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:55:35.915 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:55:35.916 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:55:35.917 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:55:35.917 | 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, 7, 176, 'v2/contact/of-client', '{"id":"3432","page":"1","posttime":"1780912535","access_token":"lLLCHpZSQkMu0_ceemp9PVo8_3HEKkFC","device_type":"7","version_code":"176","token":"f7b3edf1e50d6460cff6d76d269e15ed"}', '{"code":200,"data":{"list":[{"id":6209,"name":"\u5f20\u79b9","email":"","pinyin_shortcut":"zy","sex":"M","birth_date":null,"department":"","job_position":"","mobile":"","telephone":"","client_id":3432,"supplier_id":null,"created_by":1001,"created_at":"2025-12-19 13:44:52","updated_at":"2025-12-19 13:44:52","user_status":2,"description":"","contact_type":"1","contact_attitude":null,"telephone_area_code":"","telephone_extension_number":"","mp_open_id":null,"pinyin1":"zhang","pinyin2":"yu","pinyin3":null,"pinyin4":null,"namecut1":"\u5f20","namecut2":"\u79b9","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":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M"},"keyRoles":[],"mobiles":[{"id":6991,"contact_id":6209,"mobile":"13810398281","mp_open_id":null,"mobile_display":"13810398281"}],"commentCount":null,"contactKeyRoles":[],"contactAttitude":null,"unreadComments":null,"can_update":true,"can_delete":true,"name_display":"\u5f20\u79b9","telephone_display":"","unread":0,"bind_status":0,"bind_status_display":"\u672a\u8ba4\u8bc1"}],"pagenation":{"totalcount":1,"thispage":1,"pagesize":10}},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"ip":"125.78.86.146","ua":"jinchangxiao\/1.0.40 (emulator emulator; HarmonyOS 6.1.0)"}', FALSE, '2026-06-08 17:55:35', 73850880) RETURNING "id" |