All Latest
6a26db59bc345: POST https://beta.jinchangxiao.com/v2/user/get-announcement-unread at 2026-06-08 11:10:17 pm by 125.78.86.146

Log Messages

总计31条数据
TimeLevelCategoryMessage
 
23:10:17.770traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
23:10:17.770traceyii\base\Module::getModuleLoading module: debug
23:10:17.770traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
23:10:17.771traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
23:10:17.771traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
23:10:17.771traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
23:10:17.771infotime tracing start1780931417771668992
23:10:17.771traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
23:10:17.771traceyii\web\Application::handleRequestRoute requested: 'v2/user/get-announcement-unread'
23:10:17.771traceyii\base\Module::getModuleLoading module: v2
23:10:17.772infoyii\web\Session::openSession started
23:10:17.773infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
23:10:17.774infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "access_token"='lLLCHpZSQkMu0_ceemp9PVo8_3HEKkFC'
23:10:17.775traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
23:10:17.775traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
23:10:17.775traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
23:10:17.776traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
23:10:17.776infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
23:10:17.777traceyii\base\Controller::runActionRoute to run: v2/user/get-announcement-unread
23:10:17.777traceyii\base\InlineAction::runWithParamsRunning action: app\modules\v2\controllers\UserController::actionGetAnnouncementUnread()
23:10:17.779infoyii\db\Command::querySELECT * FROM "global"."tbl_logins" WHERE "id"=1001
23:10:17.779traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
23:10:17.780infoyii\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_logins' and d.nspname = 'global' ORDER BY a.attnum;
23:10:17.783infoyii\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_logins' and ns.nspname='global' order by fns.nspname, fc.relname, a.attnum
23:10:17.795traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
23:10:17.795traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
23:10:17.795infoyii\db\Command::querySELECT COUNT(*) FROM (SELECT "a".* FROM "global"."tbl_announcements" "a" LEFT JOIN "global"."tbl_read_announcement" "r" ON a.id = r.announcement_id AND r.user_id = 1001 LEFT JOIN "global"."tbl_logins" "l" ON l.id = r.user_id WHERE (l.id IS NULL) AND ("a"."created_at" > '2017-02-06 13:05:08') ORDER BY "a"."created_at" DESC) "c"
23:10:17.800infoyii\db\Command::querySELECT COUNT(*) FROM "a57be577deb434"."tbl_unread_comments" WHERE ("remind_user_id"=1001) AND ("is_read"=FALSE) AND ("object_type" <> 20030)
23:10:17.821traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
23:10:17.821traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
23:10:17.821infoyii\db\Command::queryINSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "version_code", "url", "request", "response", "php_error", "time", "duration") VALUES (200, 'a57be577deb434', 1001, 2, 1159, 'v2/user/get-announcement-unread', '{"access_token":"lLLCHpZSQkMu0_ceemp9PVo8_3HEKkFC","device_type":"2","posttime":"1780931456","token":"34d63b1581a245a4df89c42c0ebe446e","version_code":"1159"}', '{"code":200,"data":{"count":5},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"ip":"125.78.86.146","ua":"jinchangxiao\/2.3.156 (iPhone 17 Pro Max; iOS 26.3.1; Scale\/3.00)"}', FALSE, '2026-06-08 23:10:17', 50001152) RETURNING "id"