Log Messages

总计79条数据
TimeLevelCategoryMessage
 
14:39:19.943traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
14:39:19.943traceyii\base\Module::getModuleLoading module: debug
14:39:19.943traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
14:39:19.943traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
14:39:19.944traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
14:39:19.944traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:39:19.944traceyii\base\Module::getModuleLoading module: gii
14:39:19.944traceyii\base\Application::bootstrapBootstrap with yii\gii\Module::bootstrap()
14:39:19.944traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
14:39:19.944traceyii\web\Application::handleRequestRoute requested: 'vue/sales-contract/upload-scan'
14:39:19.944traceyii\base\Module::getModuleLoading module: vue
14:39:19.945infoyii\web\Session::openSession started
14:39:19.946infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "id"=1001
14:39:19.946infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
14:39:19.952traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:39:19.952traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:39:19.952traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:39:19.953traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:39:19.953infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
14:39:19.955traceyii\base\Controller::runActionRoute to run: vue/sales-contract/upload-scan
14:39:19.955traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:39:19.957traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
14:39:19.957traceyii\base\InlineAction::runWithParamsRunning action: app\modules\vue\controllers\SalesContractController::actionUploadScan()
14:39:19.957infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "id"='3843'
14:39:19.958traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:39:19.958traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:39:19.958traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:39:19.959traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:39:19.961traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'id' in 'app\models\SalesContracts'.
14:39:19.961traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'contractScans' in 'app\models\SalesContracts'.
14:39:19.961infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=105) AND ("object_id"=3843)
14:39:19.964infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
14:39:19.965traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:39:19.965traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:39:19.965infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (2, 'contractScans', 3843, 7, 1001, 'now()', '[["24777"]]', '[[]]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u5408\u540c","d4":[""]}')
14:39:19.967infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
14:39:19.967infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_sales_contract_remind_receivers" WHERE "contract_id"=3843
14:39:19.968traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:39:19.968traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:39:19.968infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3304'
14:39:19.970traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:39:19.970infoyii\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_comments' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
14:39:19.978infoyii\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_comments' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
14:39:19.995traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:39:19.996traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
14:39:19.996infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "id"=3843
14:39:19.996traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:39:19.996traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:39:19.997infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3809
14:39:19.998infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3304
14:39:20.000infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001)
14:39:20.000infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "is_system", "description", "description2") VALUES (1001, '7', 3843, TRUE, '刘人诚上传了合同', '商机:测试默认选中明确需求;客户:北京月初科技有限公司(过单)') RETURNING "id"
14:39:20.004traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:39:20.005traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:39:20.005infoyii\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\Comments', 170152, 'a:11:{s:2:"id";i:170152;s:9:"object_id";i:3843;s:11:"object_type";s:1:"7";s:6:"parent";N;s:11:"description";s:24:"刘人诚上传了合同";s:10:"created_by";i:1001;s:10:"created_at";N;s:8:"reply_to";N;s:9:"is_system";b:1;s:8:"for_user";N;s:12:"description2";s:93:"商机:测试默认选中明确需求;客户:北京月初科技有限公司(过单)";}', '', 1001, '124.64.23.82')
14:39:20.007infoyii\db\Command::execute
14:39:20.007infoyii\db\Command::querySELECT "channel_id" FROM "global"."tbl_logins" WHERE ("id"=1001) AND ("id" != 1001) AND (channel_id IS NOT NULL)
14:39:20.008infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=105) AND ("object_id"=3843)
14:39:20.010traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:39:20.010infoyii\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_attachement_relationships' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
14:39:20.014infoyii\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_attachement_relationships' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
14:39:20.028traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:39:20.028traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
14:39:20.028infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_attachement_relationships" ("object_type", "object_id", "attachment_id") VALUES (105, 3843, 24777)
14:39:20.033infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_sales_contracts" SET "client_id"=3304, "updated_at"='now()', "project_id"=3809 WHERE "id"=3843
14:39:20.034infoyii\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\SalesContracts', 3843, 'a:0:{}', '', 1001, '124.64.23.82')
14:39:20.035infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3304'
14:39:20.036infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='3809'
14:39:20.037infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
14:39:20.038infoyii\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 (2, 'update', 3304, 10, 3843, 7, 1001, '[3843]', '[3843]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u9500\u552e\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:TS-LRC-20250611001"]}') RETURNING "id"
14:39:20.039infoyii\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', 509575, 'a:13:{s:2:"id";i:509575;s:9:"object_id";s:4:"3304";s:11:"object_type";i:10;s:9:"target_id";i:3843;s:18:"target_object_type";i:7;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:6:"[3843]";s:9:"new_value";s:6:"[3843]";s:11:"description";s:138:"{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u9500\u552e\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:TS-LRC-20250611001"]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1001, '124.64.23.82')
14:39:20.040infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
14:39:20.041infoyii\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 (2, 'update', 3809, 1, 3843, 7, 1001, '[3843]', '[3843]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u9500\u552e\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:TS-LRC-20250611001"]}') RETURNING "id"
14:39:20.042infoyii\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', 509576, 'a:13:{s:2:"id";i:509576;s:9:"object_id";s:4:"3809";s:11:"object_type";i:1;s:9:"target_id";i:3843;s:18:"target_object_type";i:7;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:6:"[3843]";s:9:"new_value";s:6:"[3843]";s:11:"description";s:138:"{"d1":"\u5218\u4eba\u8bda","d2":"\u66f4\u65b0\u4e86","d3":"\u9500\u552e\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:TS-LRC-20250611001"]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1001, '124.64.23.82')
14:39:20.043traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:39:20.043traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:39:20.043infoyii\db\Command::queryINSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 1001, 5, 'vue/sales-contract/upload-scan', '{"SalesContracts":{"id":"3843","client_id":"3304","project_id":"3809","contractScans":["24777"]},"web_access_token":"SXPCUp7Z_YgHJ45TnvuyG1o7l8nwuHKC"}', '{"code":2000,"result":"","status":1,"msg":[{"name":"success","success":"\u9500\u552e\u5408\u540c\u5df2\u88ab\u6210\u529f\u4fee\u6539","error":""}],"mod":0}', FALSE, '2025-06-27 14:39:20') RETURNING "id"
14:39:20.045traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:39:20.045traceyii\redis\Connection::executeCommandExecuting Redis Command: SET