| 23:12:17.232 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 23:12:17.232 | trace | yii\base\Module::getModule | Loading module: debug |
| 23:12:17.233 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 23:12:17.233 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 23:12:17.233 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 23:12:17.233 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 23:12:17.233 | info | time tracing start | 1780413137233634048 |
| 23:12:17.233 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 23:12:17.233 | trace | yii\web\Application::handleRequest | Route requested: 'vue/contact/of-client' |
| 23:12:17.233 | trace | yii\base\Module::getModule | Loading module: vue |
| 23:12:17.249 | info | yii\web\Session::open | Session started |
| 23:12:17.249 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 23:12:17.250 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 23:12:17.266 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 23:12:17.270 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 23:12:17.274 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 23:12:17.276 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 23:12:17.280 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 23:12:17.285 | trace | yii\base\Controller::runAction | Route to run: vue/contact/of-client |
| 23:12:17.285 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 23:12:17.292 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 23:12:17.292 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\ContactController::actionOfClient() |
| 23:12:17.292 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE ("id"='3462') AND ("deleted"=FALSE) |
| 23:12:17.294 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 23:12:17.294 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 23:12:17.295 | 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"='3462' 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" |
| 23:12:17.316 | 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"='3462' 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 |
| 23:12:17.335 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 23:12:17.335 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 23:12:17.336 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "status" AS "name" FROM "a57be577deb434"."tbl_contact_statuses" WHERE "id"=2 |
| 23:12:17.346 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex", "user_status" FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 23:12:17.355 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_contact_mobiles" WHERE "contact_id"=6256 |
| 23:12:17.362 | info | yii\db\Command::query | SELECT "object_id", count(*) as comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=14) AND ("object_id"=6256) GROUP BY "object_id" |
| 23:12:17.417 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=6256 |
| 23:12:17.418 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=11) AND ("id" IN (5, 184, 349)) ORDER BY "sort" |
| 23:12:17.418 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=6256 |
| 23:12:17.419 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=12) AND ("id" IN (5, 184, 349)) ORDER BY "sort" |
| 23:12:17.419 | 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"=6256) GROUP BY "object_id" |
| 23:12:17.452 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking permission: updateClientContact |
| 23:12:17.453 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: StoreKeeper |
| 23:12:17.453 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Engineer |
| 23:12:17.453 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 23:12:17.453 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 23:12:17.454 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 23:12:17.455 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 23:12:17.456 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 23:12:17.456 | 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":"3462","page":"1"}', '{"code":2000,"result":{"list":[{"id":6256,"name":"4","email":"","pinyin_shortcut":"4","sex":"M","birth_date":"","department":"","job_position":"","mobile":"17687439997","telephone":"","client_id":3462,"supplier_id":"","created_by":1001,"created_at":"2026-06-02 16:52:29","updated_at":"2026-06-02 16:52:29","user_status":2,"description":"","contact_type":"1","contact_attitude":"","telephone_area_code":"","telephone_extension_number":"","mp_open_id":"","pinyin1":"","pinyin2":"","pinyin3":"","pinyin4":"","namecut1":"4","namecut2":"","namecut3":"","namecut4":"","is_mp_bind":false,"contactStatus":{"id":2,"key":2,"name":"\u5728\u804c"},"createdBy":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M","user_status":"1"},"mobiles":[{"id":7040,"contact_id":6256,"mobile":"17687439997","mp_open_id":"","mobile_display":"17687439997"}],"commentCount":{},"contactKeyRoles":[],"contactAttitude":{},"unreadComments":"","can_update":true,"can_delete":true,"name_display":"4","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":"111.194.208.14","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/148.0.0.0 Safari\/537.36"}', FALSE, '2026-06-02 23:12:17', 222778112) RETURNING "id" |
| 23:12:17.459 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 23:12:17.460 | trace | yii\db\Transaction::begin | Begin transaction |
| 23:12:17.461 | info | yii\db\Command::query | SELECT * FROM "global"."tbl_browser_ua_statistics" "b" WHERE "user_agent"='Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.0.0 Safari/537.36' |
| 23:12:17.466 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 23:12:17.466 | 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_browser_ua_statistics'
and d.nspname = 'global'
ORDER BY
a.attnum; |
| 23:12:17.470 | 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_browser_ua_statistics'
and ns.nspname='global'
order by
fns.nspname, fc.relname, a.attnum |
| 23:12:17.483 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 23:12:17.484 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 23:12:17.484 | info | yii\db\Command::execute | UPDATE "global"."tbl_browser_ua_statistics" SET "counter"=4800 WHERE "id"=279 |
| 23:12:17.485 | trace | yii\db\Transaction::commit | Commit transaction |
| 23:12:17.485 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |