Log Messages

总计46条数据
TimeLevelCategoryMessage
 
19:33:19.590traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
19:33:19.590traceyii\base\Module::getModuleLoading module: debug
19:33:19.590traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
19:33:19.590traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
19:33:19.590traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
19:33:19.590traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
19:33:19.590traceyii\base\Module::getModuleLoading module: gii
19:33:19.590traceyii\base\Application::bootstrapBootstrap with yii\gii\Module::bootstrap()
19:33:19.591traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
19:33:19.591traceyii\web\Application::handleRequestRoute requested: 'v2/client/list-document'
19:33:19.591traceyii\base\Module::getModuleLoading module: v2
19:33:19.591infoyii\web\Session::openSession started
19:33:19.592infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
19:33:19.593infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "access_token"='oTtlK_p5ZOBpvQJd1tf5AoUbRaTdQ7qH'
19:33:19.596traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
19:33:19.596traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
19:33:19.597traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
19:33:19.597traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
19:33:19.597infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
19:33:19.598traceyii\base\Controller::runActionRoute to run: v2/client/list-document
19:33:19.599traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
19:33:19.599traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
19:33:19.599traceyii\base\InlineAction::runWithParamsRunning action: app\modules\v2\controllers\ClientController::actionListDocument()
19:33:19.599traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
19:33:19.600traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
19:33:19.601infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE ("id"='141') AND ("deleted"=FALSE) AND (("sales_rep" IN (5049, 5301, 5022, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5047, 1026, 5096, 5070, 5448, 5420, 1029, 1001, 5037, 5087, 1008, 5048, 5043, 5045, 5230, 5031, 5088, 5208, 1003, 5294, 5357, 5044, 1030, 5076, 5300, 5027, 5089, 5311, 5066, 5069, 5364, 1009, 5295, 1013, 5128, 5203, 1025, 5032, 5075, 1004, 5072, 5033, 5359, 5412, 5409, 5229, 1005, 5304, 5449, 5358, 1006, 5093)) OR ("sales_rep" IS NULL) OR ("id" IN (SELECT "client_id" FROM "a57be577deb434"."tbl_user_visit_clients" WHERE "user_id"=1000)))
19:33:19.602traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
19:33:19.603traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
19:33:19.604traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
19:33:19.604infoyii\db\Command::querySELECT 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_client_documents' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
19:33:19.609infoyii\db\Command::queryselect 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_client_documents' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
19:33:19.620traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
19:33:19.620traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
19:33:19.620infoyii\db\Command::querySELECT COUNT(*) FROM (SELECT cd.* FROM "a57be577deb434"."tbl_client_documents" "cd" WHERE "client_id"='141' GROUP BY "cd"."id" ORDER BY "created_at" DESC) "c"
19:33:19.623infoyii\db\Command::querySELECT cd.* FROM "a57be577deb434"."tbl_client_documents" "cd" WHERE "client_id"='141' GROUP BY "cd"."id" ORDER BY "created_at" DESC LIMIT 10
19:33:19.624infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "sex" FROM "a57be577deb434"."tbl_users" WHERE "id" IN (1017, 1011)
19:33:19.624infoyii\db\Command::querySELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id" IN (1011, 1017))
19:33:19.625infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "extension", "path", "orig_name" FROM "a57be577deb434"."tbl_attachments" WHERE "id" IN (15466, 15468, 15467, 14948)
19:33:19.628infoyii\db\Command::querySELECT "object_id", count(*) as comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=104) AND ("object_id" IN (404, 403, 402, 371)) GROUP BY "object_id"
19:33:19.646infoyii\db\Command::querySELECT "object_id", count(*) AS unread FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_type"=104) AND (remind_user_id = 1000 AND is_read = false) AND ("object_id" IN (404, 403, 402, 371)) GROUP BY "object_id"
19:33:19.661infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_clients" WHERE "id"=141
19:33:19.662infoyii\db\Command::querySELECT "id", "id" AS "key", "project_title" AS "name" FROM "a57be577deb434"."tbl_projects" WHERE "id"=3297
19:33:19.662infoyii\db\Command::querySELECT "id", "id" AS "key", "case_no" AS "name" FROM "a57be577deb434"."tbl_cases" WHERE "id"=6631
19:33:19.663traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
19:33:19.664traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
19:33:19.664infoyii\db\Command::queryINSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "version_code", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 1000, 6, 167, 'v2/client/list-document', '{"id":"141","page":"1","pagesize":"10","posttime":"1752751999","access_token":"oTtlK_p5ZOBpvQJd1tf5AoUbRaTdQ7qH","device_type":"6","version_code":"167","token":"13529f71aa00bca712dea24c3438659b"}', '{"code":200,"data":{"list":[{"id":404,"attachment_id":15466,"client_id":141,"title":"\u4e91\u539f\u751f\u6570\u636e\u4e2d\u5fc3\u90e8\u5206\u67b6\u6784.pdf","description":"","created_by":1017,"created_at":"2023-10-18 09:31:48","updated_at":"2023-10-18 09:31:48","project_id":3297,"case_id":6631,"createdBy":{"id":1017,"key":1017,"name":"\u8f66\u660e\u98de","sex":"M","avatar":{"id":8,"user_id":1017,"name":"\/files\/cdn\/a57be577deb434\/avatar\/e538f0fe-48a7-33da-a512-b252266c9e91.jpg"}},"attachment":{"id":15466,"key":15466,"name":"\/files\/protected\/var\/www\/html\/web\/files\/protected\/a57be577deb434\/2023\/10\/51ab29b4-d8d7-3743-953c-1fafc646207b.pdf","extension":"pdf","orig_name":"\u4e91\u539f\u751f\u6570\u636e\u4e2d\u5fc3\u90e8\u5206\u67b6\u6784.pdf"},"commentCount":null,"unreadComments":null,"client":{"id":141,"key":141,"name":"\u5929\u6d25\u878d\u5b9d\u652f\u4ed8\u7f51\u7edc\u6709\u9650\u516c\u53f8"},"project":{"id":3297,"key":3297,"name":"\u670d\u52a1\u5668\u7eed\u4fdd-K"},"case":{"id":6631,"key":6631,"name":"PS231017004"},"unread":0},{"id":403,"attachment_id":15468,"client_id":141,"title":"zStack\u5bb9\u5668\u4e91.pdf","description":"","created_by":1017,"created_at":"2023-10-18 09:31:48","updated_at":"2023-10-18 09:31:48","project_id":3297,"case_id":6631,"createdBy":{"id":1017,"key":1017,"name":"\u8f66\u660e\u98de","sex":"M","avatar":{"id":8,"user_id":1017,"name":"\/files\/cdn\/a57be577deb434\/avatar\/e538f0fe-48a7-33da-a512-b252266c9e91.jpg"}},"attachment":{"id":15468,"key":15468,"name":"\/files\/protected\/var\/www\/html\/web\/files\/protected\/a57be577deb434\/2023\/10\/cd567bfe-eef4-31e9-9888-d4ffeed8302e.pdf","extension":"pdf","orig_name":"zStack\u5bb9\u5668\u4e91.pdf"},"commentCount":null,"unreadComments":null,"client":{"id":141,"key":141,"name":"\u5929\u6d25\u878d\u5b9d\u652f\u4ed8\u7f51\u7edc\u6709\u9650\u516c\u53f8"},"project":{"id":3297,"key":3297,"name":"\u670d\u52a1\u5668\u7eed\u4fdd-K"},"case":{"id":6631,"key":6631,"name":"PS231017004"},"unread":0},{"id":402,"attachment_id":15467,"client_id":141,"title":"ZStack\u4e91\u8ba1\u7b97\u89e3\u51b3\u65b9\u68482022.pdf","description":"","created_by":1017,"created_at":"2023-10-18 09:31:48","updated_at":"2023-10-18 09:31:48","project_id":3297,"case_id":6631,"createdBy":{"id":1017,"key":1017,"name":"\u8f66\u660e\u98de","sex":"M","avatar":{"id":8,"user_id":1017,"name":"\/files\/cdn\/a57be577deb434\/avatar\/e538f0fe-48a7-33da-a512-b252266c9e91.jpg"}},"attachment":{"id":15467,"key":15467,"name":"\/files\/protected\/var\/www\/html\/web\/files\/protected\/a57be577deb434\/2023\/10\/1bf33fa9-4fbf-3052-80bb-b74c9e69bcb4.pdf","extension":"pdf","orig_name":"ZStack\u4e91\u8ba1\u7b97\u89e3\u51b3\u65b9\u68482022.pdf"},"commentCount":null,"unreadComments":null,"client":{"id":141,"key":141,"name":"\u5929\u6d25\u878d\u5b9d\u652f\u4ed8\u7f51\u7edc\u6709\u9650\u516c\u53f8"},"project":{"id":3297,"key":3297,"name":"\u670d\u52a1\u5668\u7eed\u4fdd-K"},"case":{"id":6631,"key":6631,"name":"PS231017004"},"unread":0},{"id":371,"attachment_id":14948,"client_id":141,"title":"UCS\u914d\u7f6e-\u62a5\u4ef7\u5355","description":"","created_by":1011,"created_at":"2023-09-14 10:35:25","updated_at":"2023-09-14 10:35:25","project_id":null,"case_id":null,"createdBy":{"id":1011,"key":1011,"name":"\u97e9\u96c5\u82b3","sex":"F","avatar":{"id":17,"user_id":1011,"name":"\/files\/cdn\/a57be577deb434\/avatar\/b54747f4-248d-380e-93bc-0f62f769e70d.png"}},"attachment":{"id":14948,"key":14948,"name":"\/files\/protected\/var\/www\/html\/web\/files\/protected\/a57be577deb434\/2023\/09\/54ce93ec-d20e-301a-bd8a-ee3d88aa14b1.xlsx","extension":"xlsx","orig_name":"Estimate_RY147504915NT--\u62d3\u5b9e\u6210\u672c\u62a5\u4ef7--0912.xlsx"},"commentCount":null,"unreadComments":null,"client":{"id":141,"key":141,"name":"\u5929\u6d25\u878d\u5b9d\u652f\u4ed8\u7f51\u7edc\u6709\u9650\u516c\u53f8"},"project":null,"case":null,"unread":0}],"pagenation":{"totalcount":4,"thispage":1,"pagesize":10}},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}]}', FALSE, '2025-07-17 19:33:19') RETURNING "id"