| 16:07:02.312 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 16:07:02.312 | trace | yii\base\Module::getModule | Loading module: debug |
| 16:07:02.313 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 16:07:02.316 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 16:07:02.317 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 16:07:02.317 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:07:02.317 | info | time tracing start | 1783325222317912064 |
| 16:07:02.318 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 16:07:02.318 | trace | yii\web\Application::handleRequest | Route requested: 'vue/contact/of-client' |
| 16:07:02.318 | trace | yii\base\Module::getModule | Loading module: vue |
| 16:07:02.796 | info | yii\web\Session::open | Session started |
| 16:07:02.798 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 16:07:02.798 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 16:07:02.821 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:07:02.822 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 16:07:02.823 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:07:02.824 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 16:07:02.824 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 16:07:02.825 | trace | yii\base\Controller::runAction | Route to run: vue/contact/of-client |
| 16:07:02.826 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:07:02.829 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 16:07:02.829 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\ContactController::actionOfClient() |
| 16:07:02.829 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE ("id"='1933') AND ("deleted"=FALSE) |
| 16:07:02.831 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:07:02.831 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 16:07:02.832 | 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"='1933' 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" |
| 16:07:02.838 | 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"='1933' 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 |
| 16:07:02.841 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:07:02.841 | 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 = 'a57be577deb434'
ORDER BY
a.attnum; |
| 16:07:02.850 | 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='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
| 16:07:02.862 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 16:07:02.863 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 16:07:02.864 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "status" AS "name" FROM "a57be577deb434"."tbl_contact_statuses" WHERE "id"=2 |
| 16:07:02.865 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex", "user_status" FROM "a57be577deb434"."tbl_users" WHERE "id" IN (5300, 1003) |
| 16:07:02.866 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_contact_mobiles" WHERE "contact_id" IN (4849, 4749, 3362) |
| 16:07:02.867 | info | yii\db\Command::query | SELECT "object_id", count(*) as comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=14) AND ("object_id" IN (4849, 4749, 3362)) GROUP BY "object_id" |
| 16:07:02.940 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id" IN (4849, 4749, 3362) |
| 16:07:02.942 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=11) AND ("id" IN (5, 1, 164, 135, 139, 181, 184, 189, 349, 369, 215, 185, 191, 200, 374)) ORDER BY "sort" |
| 16:07:02.944 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id" IN (4849, 4749, 3362) |
| 16:07:02.945 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=12) AND ("id" IN (5, 1, 164, 135, 139, 181, 184, 189, 349, 369, 215, 185, 191, 200, 374)) ORDER BY "sort" |
| 16:07:02.946 | 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" IN (4849, 4749, 3362)) GROUP BY "object_id" |
| 16:07:03.000 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking permission: updateClientContact |
| 16:07:03.000 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Engineer |
| 16:07:03.000 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 16:07:03.000 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:07:03.002 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:07:03.005 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:07:03.005 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 16:07:03.006 | 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":"1933","page":"1"}', '{"code":2000,"result":{"list":[{"id":4849,"name":"\u674e\u7194\u53cb","email":"","pinyin_shortcut":"lry","sex":"M","birth_date":"","department":"","job_position":"\u6280\u672f","mobile":"","telephone":"80480101","client_id":1933,"supplier_id":"","created_by":5300,"created_at":"2023-10-17 17:54:06","updated_at":"2023-10-17 17:54:06","user_status":2,"description":"","contact_type":"1","contact_attitude":"","telephone_area_code":"","telephone_extension_number":"","mp_open_id":1,"pinyin1":"li","pinyin2":"rong","pinyin3":"you","pinyin4":"","namecut1":"\u674e","namecut2":"\u7194","namecut3":"\u53cb","namecut4":"","is_mp_bind":true,"contactStatus":{"id":2,"key":2,"name":"\u5728\u804c"},"createdBy":{"id":5300,"key":5300,"name":"\u82cf\u6e05\u4e91","sex":"F","user_status":"1"},"mobiles":[{"id":5644,"contact_id":4849,"mobile":"15311444022","mp_open_id":"oagch6STIcr4Xg3n38Njq9ZI3Kwg","mobile_display":"15311444022"}],"commentCount":{},"contactKeyRoles":[],"contactAttitude":{},"unreadComments":"","can_update":true,"can_delete":true,"name_display":"\u674e\u7194\u53cb","email_display":"","telephone_display":"80480101","unread":0},{"id":4749,"name":"\u803f\u6653\u8389","email":"","pinyin_shortcut":"gxl","sex":"F","birth_date":"","department":"","job_position":"","mobile":"","telephone":"","client_id":1933,"supplier_id":"","created_by":5300,"created_at":"2023-07-28 12:34:11","updated_at":"2023-07-28 12:34:11","user_status":2,"description":"","contact_type":"1","contact_attitude":"","telephone_area_code":"","telephone_extension_number":"","mp_open_id":"","pinyin1":"geng","pinyin2":"xiao","pinyin3":"li","pinyin4":"","namecut1":"\u803f","namecut2":"\u6653","namecut3":"\u8389","namecut4":"","is_mp_bind":false,"contactStatus":{"id":2,"key":2,"name":"\u5728\u804c"},"createdBy":{"id":5300,"key":5300,"name":"\u82cf\u6e05\u4e91","sex":"F","user_status":"1"},"mobiles":[{"id":5556,"contact_id":4749,"mobile":"18518597036","mp_open_id":"","mobile_display":"18518597036"}],"commentCount":{},"contactKeyRoles":[],"contactAttitude":{},"unreadComments":"","can_update":true,"can_delete":true,"name_display":"\u803f\u6653\u8389","email_display":"","telephone_display":"","unread":0},{"id":3362,"name":"\u5218\u6606","email":"liukun@smc.com.cn","pinyin_shortcut":"lk","sex":"M","birth_date":"","department":"\u91c7\u8d2d\u90e8","job_position":"\u8bfe\u957f","mobile":"","telephone":"","client_id":1933,"supplier_id":"","created_by":1003,"created_at":"2020-09-29 10:09:37","updated_at":"2020-09-29 10:09:37","user_status":2,"description":"","contact_type":"1","contact_attitude":"","telephone_area_code":"","telephone_extension_number":"","mp_open_id":1,"pinyin1":"liu","pinyin2":"kun","pinyin3":"","pinyin4":"","namecut1":"\u5218","namecut2":"\u6606","namecut3":"","namecut4":"","is_mp_bind":true,"contactStatus":{"id":2,"key":2,"name":"\u5728\u804c"},"createdBy":{"id":1003,"key":1003,"name":"\u5415\u5174\u5143(\u5df2\u79bb\u804c)","sex":"M","user_status":"-1"},"mobiles":[{"id":3784,"contact_id":3362,"mobile":"13810668780","mp_open_id":"oagch6Vec0Fybbx1I-FzrY0phg0o","mobile_display":"13810668780"}],"commentCount":{},"contactKeyRoles":[{"id":135,"key":135,"name":"\u91c7\u8d2d\u51b3\u7b56\u4eba"}],"contactAttitude":{"id":139,"key":139,"name":"\u652f\u6301"},"unreadComments":"","can_update":true,"can_delete":true,"name_display":"\u5218\u6606","email_display":"liukun@smc.com.cn","telephone_display":"","unread":0}],"can_create":true,"pagenation":{"totalcount":3,"thispage":1,"pagesize":20}},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"mod":0,"ip":"39.156.194.178","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:152.0) Gecko\/20100101 Firefox\/152.0"}', FALSE, '2026-07-06 16:07:03', 688002816) RETURNING "id" |
| 16:07:03.009 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:07:03.009 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |