Log Messages

总计76条数据
TimeLevelCategoryMessage
 
13:19:52.007traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
13:19:52.007traceyii\base\Module::getModuleLoading module: debug
13:19:52.007traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
13:19:52.007traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
13:19:52.007traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
13:19:52.007traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
13:19:52.008traceyii\base\Module::getModuleLoading module: gii
13:19:52.008traceyii\base\Application::bootstrapBootstrap with yii\gii\Module::bootstrap()
13:19:52.008traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
13:19:52.008traceyii\web\Application::handleRequestRoute requested: 'vue/punch-strategy/save-edit'
13:19:52.008traceyii\base\Module::getModuleLoading module: vue
13:19:52.008infoyii\web\Session::openSession started
13:19:52.009infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "id"=1001
13:19:52.009infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
13:19:52.013traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
13:19:52.013traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
13:19:52.014infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "id"=1001
13:19:52.014traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
13:19:52.015traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
13:19:52.015infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
13:19:52.017traceyii\base\Controller::runActionRoute to run: vue/punch-strategy/save-edit
13:19:52.017traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
13:19:52.018traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
13:19:52.018traceyii\base\InlineAction::runWithParamsRunning action: app\modules\vue\controllers\PunchStrategyController::actionSaveEdit()
13:19:52.018traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
13:19:52.018traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
13:19:52.018infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_punch_strategies" WHERE "id"='2'
13:19:52.019infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_punch_strategy_resource_rels" WHERE "punch_strategy_id"=2
13:19:52.019infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id" IN (1000, 5250, 5016, 5064)
13:19:52.022traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'id' in 'app\models\PunchStrategies'.
13:19:52.022traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'users' in 'app\models\PunchStrategies'.
13:19:52.022traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'departments' in 'app\models\PunchStrategies'.
13:19:52.022traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'offWorkDays' in 'app\models\PunchStrategies'.
13:19:52.022traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'points' in 'app\models\PunchStrategies'.
13:19:52.022infoyii\db\Command::querySELECT "id" FROM "a57be577deb434"."tbl_punch_strategies" WHERE "title"='金畅逍弹性考勤' LIMIT 2
13:19:52.022infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001)
13:19:52.023infoyii\db\Command::querySELECT "id" FROM "a57be577deb434"."tbl_punch_strategies" WHERE "title"='金畅逍弹性考勤' LIMIT 2
13:19:52.023infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001)
13:19:52.024infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_punch_strategies" SET "updated_at"='now()', "distance"=100, "punch_type"=2, "week"=31, "legal_holiday"=TRUE, "time_on_overdue"=60, "time_off_overdue"=60, "work_hour"=9, "option_away_need_not_verify"=FALSE, "option_away_need_not_title"=FALSE, "option_away_need_photo"=FALSE, "option_leave_half_day_need_hour"=4, "option_leave_limit_day"=365, "option_punch_repair_limit"=NULL WHERE "id"=2
13:19:52.025traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
13:19:52.025infoyii\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_action_logs' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
13:19:52.030infoyii\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_action_logs' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
13:19:52.039traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
13:19:52.040traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
13:19:52.040infoyii\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\PunchStrategies', 2, 'a:3:{s:27:"option_away_need_not_verify";s:1:"0";s:26:"option_away_need_not_title";s:1:"0";s:22:"option_away_need_photo";s:1:"0";}', '', 1001, '223.104.39.212')
13:19:52.047infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_punch_strategy_resource_rels" WHERE "punch_strategy_id"=2
13:19:52.047infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_punch_strategy_points" WHERE "punch_strategy_id"=2
13:19:52.048infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_punch_strategy_schedules" WHERE "punch_strategy_id"=2
13:19:52.049traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
13:19:52.049infoyii\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_punch_strategy_resource_rels' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
13:19:52.052infoyii\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_punch_strategy_resource_rels' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
13:19:52.061traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
13:19:52.061traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
13:19:52.061infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_punch_strategy_resource_rels" ("punch_strategy_id", "department_id", "user_id") VALUES (2, 10, NULL), (2, NULL, 1000), (2, NULL, 5250), (2, NULL, 5016), (2, NULL, 5064)
13:19:52.066traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
13:19:52.066infoyii\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_punch_strategy_points' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
13:19:52.069infoyii\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_punch_strategy_points' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
13:19:52.077traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
13:19:52.077traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
13:19:52.077infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_punch_strategy_points" ("punch_strategy_id", "address", "city", "lng", "lat") VALUES (2, '诺德一期4号楼', 110106, '116.298454', '39.829527')
13:19:52.079traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
13:19:52.079traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
13:19:52.079infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_punch_strategy_schedules" ("punch_strategy_id", "edate", "need_work") VALUES (2, '2024-02-04', FALSE), (2, '2024-02-18', FALSE), (2, '2024-02-09', FALSE), (2, '2024-02-08', FALSE), (2, '2024-02-06', FALSE), (2, '2024-02-07', FALSE), (2, '2024-02-05', FALSE)
13:19:52.081infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_punch" WHERE ("user_id" IN ('1000', '5250', '5016', '5064')) AND ("day_at"='2025-12-23')
13:19:52.083infoyii\db\Command::querySELECT "ps".* FROM "a57be577deb434"."tbl_punch_strategies" "ps" LEFT JOIN "a57be577deb434"."tbl_punch_strategy_resource_rels" "psrr" ON psrr.punch_strategy_id = ps.id WHERE "ps"."id"=2 GROUP BY "ps"."id"
13:19:52.083infoyii\db\Command::querySELECT "psr".* FROM "a57be577deb434"."tbl_punch_strategy_points" "psr" WHERE "psr"."punch_strategy_id"=2
13:19:52.084infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_legal_holidays" "lh" WHERE "edate"='2025-12-23'
13:19:52.084infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_punch_strategy_schedules" WHERE ("edate"='2025-12-23') AND ("punch_strategy_id"=2)
13:19:52.084infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_punch_aways" WHERE ("created_by" IN ('1000', '5250', '5016', '5064')) AND ("day_at"='2025-12-23') AND ("away_type"=1)
13:19:52.086infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_punch_aways" WHERE ("created_by" IN ('1000', '5250', '5016', '5064')) AND ("day_at"='2025-12-23') AND ("away_type"=2)
13:19:52.086infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_punch" WHERE ("user_id" IN ('1000', '5250', '5016', '5064')) AND ("day_at" >= '2025-12-23')
13:19:52.087traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
13:19:52.087traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
13:19:52.087infoyii\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/punch-strategy/save-edit', '{"PunchStrategies":{"id":"2","title":"\u91d1\u7545\u900d\u5f39\u6027\u8003\u52e4","time_on":"08:15","time_off":"09:15","description":"\u8463\u8363\u4e13\u5c5e","distance":"100","punch_type":"2","week":"31","legal_holiday":"1","time_on_overdue":"60","time_off_overdue":"60","work_hour":"9","users":["1000","5250","5016","5064"],"departments":["10"],"option_away_need_not_verify":"0","option_away_need_not_title":"0","option_away_need_photo":"0","option_leave_half_day_need_hour":"4","option_leave_limit_day":"365","option_punch_repair_limit":"","offWorkDays":{"301":"2024-02-04","302":"2024-02-18","303":"2024-02-09","304":"2024-02-08","305":"2024-02-06","306":"2024-02-07","307":"2024-02-05"},"points":[{"address":"\u8bfa\u5fb7\u4e00\u671f4\u53f7\u697c","city":"110106","lat":"39.829527","lng":"116.298454","id":"130","punch_strategy_id":"2"}]},"web_access_token":"2WGAu5c-e3X8iWrTszdGFNSvMzxozBbD"}', '{"code":2000,"result":"","status":1,"msg":[{"name":"success","success":"\u8003\u52e4\u7b56\u7565\u5df2\u88ab\u6210\u529f\u4fee\u6539","error":""}],"mod":0,"ip":"223.104.39.212","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/605.1.15 (KHTML, like Gecko) Version\/15.6.1 Safari\/605.1.15"}', FALSE, '2025-12-23 13:19:52') RETURNING "id"
13:19:52.089traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
13:19:52.089traceyii\redis\Connection::executeCommandExecuting Redis Command: SET