Log Messages

总计103条数据
TimeLevelCategoryMessage
 
10:21:57.168traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
10:21:57.168traceyii\base\Module::getModuleLoading module: debug
10:21:57.169traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
10:21:57.169traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
10:21:57.169traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
10:21:57.169traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
10:21:57.169traceyii\base\Module::getModuleLoading module: gii
10:21:57.169traceyii\base\Application::bootstrapBootstrap with yii\gii\Module::bootstrap()
10:21:57.169traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
10:21:57.169traceyii\web\Application::handleRequestRoute requested: 'v2/case/delete'
10:21:57.169traceyii\base\Module::getModuleLoading module: v2
10:21:57.170infoyii\web\Session::openSession started
10:21:57.170infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
10:21:57.173infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "access_token"='oTtlK_p5ZOBpvQJd1tf5AoUbRaTdQ7qH'
10:21:57.176traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
10:21:57.177traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
10:21:57.177traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
10:21:57.177traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
10:21:57.177infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
10:21:57.178traceyii\base\Controller::runActionRoute to run: v2/case/delete
10:21:57.179traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
10:21:57.179traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
10:21:57.179traceyii\base\InlineAction::runWithParamsRunning action: app\modules\v2\controllers\CaseController::actionDelete()
10:21:57.180infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"='8260'
10:21:57.180traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
10:21:57.180traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
10:21:57.180traceuranus\rbac\DbManager::checkAccessFromCacheChecking permission: deleteCase
10:21:57.180traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: TechDirector
10:21:57.180traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: SalesDirector
10:21:57.180traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: 电话销售
10:21:57.180traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: CommercialAttache
10:21:57.180traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
10:21:57.180infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
10:21:57.181infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_calendars" WHERE "case_id"=8260
10:21:57.186infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_comments" WHERE ("object_id"=8260) AND ("object_type"=18)
10:21:57.264infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_id"=8260) AND ("object_type"=18)
10:21:57.275infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_visit_object_histories" WHERE ("object_id"=8260) AND ("object_type"=18)
10:21:57.275traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
10:21:57.275traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
10:21:57.275infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3334
10:21:57.285infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()' WHERE "id"=3334
10:21:57.288infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=3334) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
10:21:57.306traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
10:21:57.306traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
10:21:57.306infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (3334, 1001, 'now()', NULL) RETURNING "id"
10:21:57.312traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
10:21:57.312traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
10:21:57.312infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ClientAmChangeLogs', 165242, 'a:5:{s:2:"id";i:165242;s:9:"client_id";i:3334;s:9:"sales_rep";i:1001;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1000, '223.104.40.121')
10:21:57.313infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Clients', 3334, 'a:0:{}', '', 1000, '223.104.40.121')
10:21:57.314infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
10:21:57.314traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
10:21:57.314traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
10:21:57.314infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "description") VALUES (3, 'delete', 3334, 10, 8260, 18, 1000, '[8260]', '[8260]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u5220\u9664\u4e86","d3":"Case","d4":["Case\u7f16\u53f7:IM250423001"]}') RETURNING "id"
10:21:57.319infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 510499, 'a:13:{s:2:"id";i:510499;s:9:"object_id";i:3334;s:11:"object_type";i:10;s:9:"target_id";i:8260;s:18:"target_object_type";i:18;s:3:"act";i:3;s:9:"attribute";s:6:"delete";s:9:"old_value";s:6:"[8260]";s:9:"new_value";s:6:"[8260]";s:11:"description";s:103:"{"d1":"\u66f9\u6c38\u751f","d2":"\u5220\u9664\u4e86","d3":"Case","d4":["Case\u7f16\u53f7:IM250423001"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1000, '223.104.40.121')
10:21:57.320traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
10:21:57.320infoyii\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_projects' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
10:21:57.325infoyii\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_projects' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
10:21:57.338traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
10:21:57.338traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
10:21:57.338infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3786
10:21:57.339infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_projects" SET "updated_at"='now()' WHERE "id"=3786
10:21:57.341infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=3786) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
10:21:57.347traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
10:21:57.347traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
10:21:57.347infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Projects', 3786, 'a:0:{}', '', 1000, '223.104.40.121')
10:21:57.348infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3334
10:21:57.348infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
10:21:57.349infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "description") VALUES (3, 'delete', 3786, 1, 8260, 18, 1000, '[8260]', '[8260]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u5220\u9664\u4e86","d3":"Case","d4":["Case\u7f16\u53f7:IM250423001"]}') RETURNING "id"
10:21:57.350infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 510500, 'a:13:{s:2:"id";i:510500;s:9:"object_id";i:3786;s:11:"object_type";i:1;s:9:"target_id";i:8260;s:18:"target_object_type";i:18;s:3:"act";i:3;s:9:"attribute";s:6:"delete";s:9:"old_value";s:6:"[8260]";s:9:"new_value";s:6:"[8260]";s:11:"description";s:103:"{"d1":"\u66f9\u6c38\u751f","d2":"\u5220\u9664\u4e86","d3":"Case","d4":["Case\u7f16\u53f7:IM250423001"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1000, '223.104.40.121')
10:21:57.350infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3786
10:21:57.351infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3334
10:21:57.351infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
10:21:57.352traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
10:21:57.352traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
10:21:57.353infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_user_action_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "users", "description") VALUES (3, 'delete', 3786, 1, 8260, 18, 1000, '8260', '8260', array[1001], '{"d1":"\u66f9\u6c38\u751f","d2":"\u5220\u9664\u4e86","d3":"Case","d4":["Case\u7f16\u53f7:IM250423001"]}') RETURNING "id"
10:21:57.361infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\UserActionLogs', 137118, 'a:15:{s:2:"id";i:137118;s:9:"object_id";i:3786;s:11:"object_type";i:1;s:9:"target_id";i:8260;s:18:"target_object_type";i:18;s:3:"act";i:3;s:9:"attribute";s:6:"delete";s:9:"old_value";s:4:"8260";s:9:"new_value";s:4:"8260";s:5:"users";O:17:"yii\db\Expression":2:{s:10:"expression";s:11:"array[1001]";s:6:"params";a:0:{}}s:11:"description";s:103:"{"d1":"\u66f9\u6c38\u751f","d2":"\u5220\u9664\u4e86","d3":"Case","d4":["Case\u7f16\u53f7:IM250423001"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;s:9:"parent_id";N;}', '', 1000, '223.104.40.121')
10:21:57.362infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3334
10:21:57.363infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_user_action_logs" WHERE (("object_id"=8260) AND ("object_type"=18)) OR (("target_id"=8260) AND ("target_object_type"=18))
10:21:57.408infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_user_action_logs" ("act", "attribute", "object_id", "object_type", "created_by", "new_value", "old_value", "users", "parent_id", "is_delete", "description") VALUES (3, 'delete', 8260, 18, 1000, '[""]', '[""]', array[1001], 3334, TRUE, '{"d1":"\u66f9\u6c38\u751f","d2":"\u5220\u9664\u4e86","d3":"Case","d4":"Case\u7f16\u53f7:IM250423001"}') RETURNING "id"
10:21:57.409infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\UserActionLogs', 137119, 'a:15:{s:2:"id";i:137119;s:9:"object_id";i:8260;s:11:"object_type";i:18;s:9:"target_id";N;s:18:"target_object_type";N;s:3:"act";i:3;s:9:"attribute";s:6:"delete";s:9:"old_value";s:4:"[""]";s:9:"new_value";s:4:"[""]";s:5:"users";O:17:"yii\db\Expression":2:{s:10:"expression";s:11:"array[1001]";s:6:"params";a:0:{}}s:11:"description";s:101:"{"d1":"\u66f9\u6c38\u751f","d2":"\u5220\u9664\u4e86","d3":"Case","d4":"Case\u7f16\u53f7:IM250423001"}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";b:1;s:9:"parent_id";i:3334;}', '', 1000, '223.104.40.121')
10:21:57.409infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_object_change_logs" SET "is_delete"=TRUE WHERE (("object_id"=8260) AND ("object_type"=18)) OR (("target_id"=8260) AND ("target_object_type"=18))
10:21:57.499infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_user_action_logs" SET "is_delete"=TRUE WHERE (("object_id"=8260) AND ("object_type"=18)) OR (("target_id"=8260) AND ("target_object_type"=18))
10:21:57.519infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_comments" WHERE ("object_id"=8260) AND ("object_type"=18)
10:21:57.530infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_id"=8260) AND ("object_type"=18)
10:21:57.541infoyii\db\Command::querySELECT "id" FROM "a57be577deb434"."tbl_implement_records" WHERE "case_id"=8260
10:21:57.542infoyii\db\Command::querySELECT "id" FROM "a57be577deb434"."tbl_pre_sales" WHERE "case_id"=8260
10:21:57.543infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_cases" WHERE "id"=8260
10:21:57.551infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('DELETE', 'app\models\Cases', 8260, '', '', 1000, '223.104.40.121')
10:21:57.552infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3334
10:21:57.552traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
10:21:57.553traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
10:21:57.554infoyii\db\Command::querySELECT COUNT(*) FROM "a57be577deb434"."tbl_cases" WHERE ("case_type"=1) AND ("case_status"=5) AND ("created_at" >= '2025-01-01 00:00:00') AND ("created_at" <= '2025-12-31 23:59:59') AND ("client_id"=3334)
10:21:57.555infoyii\db\Command::querySELECT COUNT(*) FROM "a57be577deb434"."tbl_cases" WHERE ("case_type"=2) AND ("case_status"=5) AND ("created_at" >= '2025-01-01 00:00:00') AND ("created_at" <= '2025-12-31 23:59:59') AND ("client_id"=3334)
10:21:57.557infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=3334) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
10:21:57.568infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (3334, 1001, 'now()', NULL) RETURNING "id"
10:21:57.569infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ClientAmChangeLogs', 165243, 'a:5:{s:2:"id";i:165243;s:9:"client_id";i:3334;s:9:"sales_rep";i:1001;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1000, '223.104.40.121')
10:21:57.570infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Clients', 3334, 'a:0:{}', '', 1000, '223.104.40.121')
10:21:57.577traceyii\redis\Connection::executeCommandExecuting Redis Command: INCR
10:21:57.577traceyii\redis\Connection::executeCommandExecuting Redis Command: HSET
10:21:57.577traceyii\redis\Connection::executeCommandExecuting Redis Command: LPUSH
10:21:57.577traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
10:21:57.578traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
10:21:57.578infoyii\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, 2, 1141, 'v2/case/delete', '{"access_token":"oTtlK_p5ZOBpvQJd1tf5AoUbRaTdQ7qH","device_type":"2","id":"8260","posttime":"1752200576","token":"62e9ced09394103652a53d712862521b","version_code":"1141"}', '{"code":200,"data":"","status":1,"msg":[{"name":"success","success":"Case\u5df2\u88ab\u6210\u529f\u5220\u9664","error":""}]}', FALSE, '2025-07-11 10:21:57') RETURNING "id"