| 17:58:42.488 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 17:58:42.488 | trace | yii\base\Module::getModule | Loading module: debug |
| 17:58:42.488 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 17:58:42.488 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 17:58:42.489 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 17:58:42.489 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:58:42.491 | info | time tracing start | 1780048722491079936 |
| 17:58:42.491 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 17:58:42.491 | trace | yii\web\Application::handleRequest | Route requested: 'vue/contact/of-client' |
| 17:58:42.491 | trace | yii\base\Module::getModule | Loading module: vue |
| 17:58:42.496 | info | yii\web\Session::open | Session started |
| 17:58:42.496 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=5495 |
| 17:58:42.496 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 17:58:42.499 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:58:42.500 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:58:42.501 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:58:42.502 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:58:42.503 | info | yii\db\Command::query | SELECT * FROM "o6a13e2c574d5a"."tbl_users" WHERE "id"=5495 |
| 17:58:42.504 | trace | yii\base\Controller::runAction | Route to run: vue/contact/of-client |
| 17:58:42.504 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:58:42.506 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 17:58:42.506 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking permission: viewClientContact |
| 17:58:42.506 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 17:58:42.506 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: AccountManager |
| 17:58:42.506 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Engineer |
| 17:58:42.506 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\ContactController::actionOfClient() |
| 17:58:42.506 | info | yii\db\Command::query | SELECT * FROM "o6a13e2c574d5a"."tbl_clients" WHERE ("id"='1') AND ("deleted"=FALSE) |
| 17:58:42.508 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:58:42.508 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:58:42.508 | 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 "o6a13e2c574d5a"."tbl_contacts" "c" LEFT JOIN "o6a13e2c574d5a"."tbl_clients" "client" ON client.id = c.client_id LEFT JOIN "o6a13e2c574d5a"."tbl_contact_mobiles" "cm" ON c.id = cm.contact_id AND cm.mp_open_id IS NOT NULL WHERE "client"."id"='1' 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:58:42.511 | info | yii\db\Command::query | SELECT
c.*,
CASE WHEN count(cm.id) != 0 THEN 1 ELSE null END as mp_open_id
FROM "o6a13e2c574d5a"."tbl_contacts" "c" LEFT JOIN "o6a13e2c574d5a"."tbl_clients" "client" ON client.id = c.client_id LEFT JOIN "o6a13e2c574d5a"."tbl_contact_mobiles" "cm" ON c.id = cm.contact_id AND cm.mp_open_id IS NOT NULL WHERE "client"."id"='1' 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 |
| 17:58:42.512 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:58:42.512 | info | yii\db\Command::query | SELECT
d.nspname AS table_schema,
c.relname AS table_name,
a.attname AS column_name,
t.typname AS data_type,
a.attlen AS character_maximum_length,
pg_catalog.col_description(c.oid, a.attnum) AS column_comment,
a.atttypmod AS modifier,
a.attnotnull = false AS is_nullable,
CAST(pg_get_expr(ad.adbin, ad.adrelid) AS varchar) AS column_default,
coalesce(pg_get_expr(ad.adbin, ad.adrelid) ~ 'nextval',false) AS is_autoinc,
array_to_string((select array_agg(enumlabel) from pg_enum where enumtypid=a.atttypid)::varchar[],',') as enum_values,
CASE atttypid
WHEN 21 /*int2*/ THEN 16
WHEN 23 /*int4*/ THEN 32
WHEN 20 /*int8*/ THEN 64
WHEN 1700 /*numeric*/ THEN
CASE WHEN atttypmod = -1
THEN null
ELSE ((atttypmod - 4) >> 16) & 65535
END
WHEN 700 /*float4*/ THEN 24 /*FLT_MANT_DIG*/
WHEN 701 /*float8*/ THEN 53 /*DBL_MANT_DIG*/
ELSE null
END AS numeric_precision,
CASE
WHEN atttypid IN (21, 23, 20) THEN 0
WHEN atttypid IN (1700) THEN
CASE
WHEN atttypmod = -1 THEN null
ELSE (atttypmod - 4) & 65535
END
ELSE null
END AS numeric_scale,
CAST(
information_schema._pg_char_max_length(information_schema._pg_truetypid(a, t), information_schema._pg_truetypmod(a, t))
AS numeric
) AS size,
a.attnum = any (ct.conkey) as is_pkey
FROM
pg_class c
LEFT JOIN pg_attribute a ON a.attrelid = c.oid
LEFT JOIN pg_attrdef ad ON a.attrelid = ad.adrelid AND a.attnum = ad.adnum
LEFT JOIN pg_type t ON a.atttypid = t.oid
LEFT JOIN pg_namespace d ON d.oid = c.relnamespace
LEFT join pg_constraint ct on ct.conrelid=c.oid and ct.contype='p'
WHERE
a.attnum > 0 and t.typname != ''
and c.relname = 'tbl_contacts'
and d.nspname = 'o6a13e2c574d5a'
ORDER BY
a.attnum; |
| 17:58:42.518 | info | yii\db\Command::query | select
ct.conname as constraint_name,
a.attname as column_name,
fc.relname as foreign_table_name,
fns.nspname as foreign_table_schema,
fa.attname as foreign_column_name
from
(SELECT ct.conname, ct.conrelid, ct.confrelid, ct.conkey, ct.contype, ct.confkey, generate_subscripts(ct.conkey, 1) AS s
FROM pg_constraint ct
) AS ct
inner join pg_class c on c.oid=ct.conrelid
inner join pg_namespace ns on c.relnamespace=ns.oid
inner join pg_attribute a on a.attrelid=ct.conrelid and a.attnum = ct.conkey[ct.s]
left join pg_class fc on fc.oid=ct.confrelid
left join pg_namespace fns on fc.relnamespace=fns.oid
left join pg_attribute fa on fa.attrelid=ct.confrelid and fa.attnum = ct.confkey[ct.s]
where
ct.contype='f'
and c.relname='tbl_contacts'
and ns.nspname='o6a13e2c574d5a'
order by
fns.nspname, fc.relname, a.attnum |
| 17:58:42.535 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:58:42.535 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 17:58:42.536 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "status" AS "name" FROM "o6a13e2c574d5a"."tbl_contact_statuses" WHERE "id"=2 |
| 17:58:42.536 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex", "user_status" FROM "o6a13e2c574d5a"."tbl_users" WHERE "id"=5495 |
| 17:58:42.537 | info | yii\db\Command::query | SELECT * FROM "o6a13e2c574d5a"."tbl_contact_mobiles" WHERE "contact_id"=1 |
| 17:58:42.537 | info | yii\db\Command::query | SELECT "object_id", count(*) as comment FROM "o6a13e2c574d5a"."tbl_comments" WHERE ("object_type"=14) AND ("object_id"=1) GROUP BY "object_id" |
| 17:58:42.537 | info | yii\db\Command::query | SELECT * FROM "o6a13e2c574d5a"."tbl_term_taxonomy_relationships" WHERE "object_id"=1 |
| 17:58:42.538 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "o6a13e2c574d5a"."tbl_term_taxonomies" WHERE ("term_id"=11) AND ("id" IN (61, 162, 2100000000, 71, 93)) ORDER BY "sort" |
| 17:58:42.539 | info | yii\db\Command::query | SELECT * FROM "o6a13e2c574d5a"."tbl_term_taxonomy_relationships" WHERE "object_id"=1 |
| 17:58:42.539 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "o6a13e2c574d5a"."tbl_term_taxonomies" WHERE ("term_id"=12) AND ("id" IN (61, 162, 2100000000, 71, 93)) ORDER BY "sort" |
| 17:58:42.539 | info | yii\db\Command::query | SELECT "object_id", count(*) AS unread FROM "o6a13e2c574d5a"."tbl_unread_comments" WHERE ("object_type"=14) AND (remind_user_id = 5495 AND is_read = false) AND ("object_id"=1) GROUP BY "object_id" |
| 17:58:42.540 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking permission: updateClientContact |
| 17:58:42.540 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 17:58:42.540 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: AccountManager |
| 17:58:42.540 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Engineer |
| 17:58:42.540 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:58:42.540 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:58:42.540 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking permission: deleteClientContact |
| 17:58:42.540 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 17:58:42.540 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking permission: viewContactInfo |
| 17:58:42.540 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 17:58:42.540 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Treasurer |
| 17:58:42.540 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: CommercialAttache |
| 17:58:42.540 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking permission: createClientContact |
| 17:58:42.540 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 17:58:42.540 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: AccountManager |
| 17:58:42.540 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Engineer |
| 17:58:42.541 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:58:42.541 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:58:42.541 | 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, 'o6a13e2c574d5a', 5495, 5, 'vue/contact/of-client', '{"id":"1","page":"1","web_access_token":"LtdoQWPnIHveoR2dE9dLuCNO9f4Azx_q"}', '{"code":2000,"result":{"list":[{"id":1,"name":"1","email":"","pinyin_shortcut":"1","sex":"F","birth_date":"","department":"","job_position":"","mobile":"11111111111","telephone":"","client_id":1,"supplier_id":"","created_by":5495,"created_at":"2026-05-27 17:25:00","updated_at":"2026-05-27 17:25:00","user_status":2,"description":"","contact_type":"1","contact_attitude":"","telephone_area_code":"","telephone_extension_number":"","mp_open_id":"","pinyin1":"","pinyin2":"","pinyin3":"","pinyin4":"","namecut1":"1","namecut2":"","namecut3":"","namecut4":"","is_mp_bind":false,"contactStatus":{"id":2,"key":2,"name":"\u5728\u804c"},"createdBy":{"id":5495,"key":5495,"name":"\u903b\u8f91\u6d4b\u8bd5","sex":"F","user_status":"1"},"mobiles":[{"id":1,"contact_id":1,"mobile":"11111111111","mp_open_id":"","mobile_display":"11111111111"}],"commentCount":{},"contactKeyRoles":[],"contactAttitude":{},"unreadComments":"","can_update":true,"can_delete":false,"name_display":"1","email_display":"","telephone_display":"","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":"43.224.72.82","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:151.0) Gecko\/20100101 Firefox\/151.0"}', FALSE, '2026-05-29 17:58:42', 50456064) RETURNING "id" |
| 17:58:42.543 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:58:42.543 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |