08:58:50.003 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
08:58:50.003 | trace | yii\base\Module::getModule | Loading module: debug |
08:58:50.004 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
08:58:50.004 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
08:58:50.004 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
08:58:50.004 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
08:58:50.005 | trace | yii\base\Module::getModule | Loading module: gii |
08:58:50.005 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
08:58:50.005 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
08:58:50.005 | trace | yii\web\Application::handleRequest | Route requested: 'vue/announcement/get-filter' |
08:58:50.005 | trace | yii\base\Module::getModule | Loading module: vue |
08:58:50.016 | info | yii\web\Session::open | Session started |
08:58:50.017 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
08:58:50.017 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
08:58:50.023 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
08:58:50.024 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
08:58:50.024 | info | yii\web\User::loginByCookie | User '1001' logged in from 124.64.23.82 via cookie. |
08:58:50.025 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
08:58:50.025 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
08:58:50.025 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
08:58:50.027 | trace | yii\base\Controller::runAction | Route to run: vue/announcement/get-filter |
08:58:50.027 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\AnnouncementController::actionGetFilter() |
08:58:50.028 | info | yii\db\Command::query | SELECT COUNT(*) FROM "a57be577deb434"."tbl_unread_comments" "uc" LEFT JOIN "a57be577deb434"."tbl_comments" "c" ON (c.id = uc.comment_id) AND (uc.remind_user_id = 1001) WHERE ("uc"."remind_user_id"=1001) AND ("uc"."is_read"=FALSE) AND ("c"."is_system"=FALSE) |
08:58:50.066 | info | yii\db\Command::query | SELECT COUNT(*) FROM "a57be577deb434"."tbl_unread_comments" "uc" LEFT JOIN "a57be577deb434"."tbl_comments" "c" ON (c.id = uc.comment_id) AND (uc.remind_user_id = 1001) WHERE ("uc"."remind_user_id"=1001) AND ("uc"."is_read"=FALSE) AND ("c"."is_system"=TRUE) |
08:58:50.087 | info | yii\db\Command::query | SELECT "c"."object_type", "sub"."unreadcount" FROM "a57be577deb434"."tbl_comments" "c" LEFT JOIN "a57be577deb434"."tbl_unread_comments" "uc" ON (c.id = uc.comment_id) AND (uc.remind_user_id = 1001) LEFT JOIN (SELECT "uc"."object_type", count(*) as unreadcount FROM "a57be577deb434"."tbl_unread_comments" "uc" LEFT JOIN "a57be577deb434"."tbl_comments" "c" ON c.id = comment_id WHERE (("remind_user_id"=1001) AND ("is_read"=FALSE)) AND ("c"."is_system"=0) GROUP BY "uc"."object_type") "sub" ON sub.object_type = c.object_type WHERE (("uc"."remind_user_id"=1001) OR ("c"."created_by"=1001)) AND ("c"."is_system"=0) GROUP BY "c"."object_type", "unreadcount" ORDER BY "c"."object_type" |
08:58:50.200 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
08:58:50.200 | info | yii\db\Command::query | SELECT
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; |
08:58:50.208 | info | yii\db\Command::query | select
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 |
08:58:50.223 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
08:58:50.223 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
08:58:50.224 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
08:58:50.224 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
08:58:50.224 | info | yii\db\Command::query | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 1001, 5, 'vue/announcement/get-filter', '{"is_system":"0","web_access_token":"SXPCUp7Z_YgHJ45TnvuyG1o7l8nwuHKC"}', '{"code":2000,"result":[{"key":"object_type","name":"\u6a21\u5757","value":[{"key":"","name":"\u5168\u90e8","unread":1},{"key":1,"name":"\u5546\u673a","unread":1},{"key":10,"name":"\u5ba2\u6237\u4fe1\u606f","unread":0},{"key":101,"name":"\u9879\u76ee\u6e05\u5355","unread":0},{"key":102,"name":"\u9879\u76ee\u5217\u8868","unread":0},{"key":11,"name":"\u6587\u6863\u7ba1\u7406","unread":0},{"key":12,"name":"\u4f9b\u5e94\u5546","unread":0},{"key":13,"name":"\u91c7\u8d2d\u5408\u540c","unread":0},{"key":18,"name":"Case","unread":0},{"key":19,"name":"\u5de5\u4f5c\u65e5\u5fd7","unread":0},{"key":20,"name":"\u8d39\u7528\u62a5\u9500","unread":0},{"key":21,"name":"\u9500\u552e\u7ebf\u7d22","unread":0},{"key":22,"name":"\u5ba2\u6237\u8fd0\u8425","unread":0},{"key":37,"name":"\u5ba1\u6279\u7ba1\u7406","unread":0},{"key":39,"name":"\u5916\u51fa\u7533\u8bf7","unread":0},{"key":4,"name":"\u552e\u524d\u5de5\u5355","unread":0},{"key":40,"name":"\u8bf7\u5047\u7533\u8bf7","unread":0},{"key":5,"name":"\u5b9e\u65bd\u5de5\u5355","unread":0},{"key":7,"name":"\u9500\u552e\u5408\u540c","unread":0},{"key":9,"name":"\u5f85\u529e\u4e8b\u9879","unread":0}],"default":""}],"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"mod":0}', FALSE, '2025-06-25 08:58:50') RETURNING "id" |
08:58:50.226 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
08:58:50.226 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |