| 20:13:02.240 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 20:13:02.240 | trace | yii\base\Module::getModule | Loading module: debug |
| 20:13:02.240 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 20:13:02.242 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 20:13:02.242 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 20:13:02.245 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 20:13:02.248 | info | time tracing start | 1780661582248770048 |
| 20:13:02.249 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 20:13:02.249 | trace | yii\web\Application::handleRequest | Route requested: 'vue/history/list-module' |
| 20:13:02.249 | trace | yii\base\Module::getModule | Loading module: vue |
| 20:13:02.272 | info | yii\web\Session::open | Session started |
| 20:13:02.301 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=5064 |
| 20:13:02.301 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 20:13:02.303 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 20:13:02.304 | 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 = 'vw_user_login'
and d.nspname = 'global'
ORDER BY
a.attnum; |
| 20:13:02.316 | 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='vw_user_login'
and ns.nspname='global'
order by
fns.nspname, fc.relname, a.attnum |
| 20:13:02.345 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 20:13:02.346 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 20:13:02.346 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 20:13:02.350 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 20:13:02.350 | 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_users'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
| 20:13:02.360 | 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_users'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
| 20:13:02.371 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 20:13:02.371 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 20:13:02.371 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 20:13:02.372 | trace | yii\base\Controller::runAction | Route to run: vue/history/list-module |
| 20:13:02.372 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\HistoryController::actionListModule() |
| 20:13:02.373 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 20:13:02.376 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 20:13:02.378 | info | yii\db\Command::query | SELECT "user_id", "object_type", sum(count) as num FROM (SELECT *,
CASE WHEN visit_date <= '2026-06-05' AND visit_date >= '2026-06-02' THEN num * 3
WHEN visit_date <= '2026-06-01' AND visit_date >= '2026-05-29' THEN num * 2
WHEN visit_date <= '2026-05-28' AND visit_date >= '2026-05-21' THEN num * 1
ELSE 0 END AS count
FROM "a57be577deb434"."tbl_visit_module_histories") "sub" WHERE ("user_id"=1001) AND ("object_type" != 24) AND ("object_type" != 29) AND ("visit_date" >= '2026-05-21') AND ("object_type" IN (23, 9, 21, 10, 22, 1, 19, 20, 37, 18, 101, 34, 7, 11, 12, 13, 25, 26, 16, 28, 29, 30, 10004, 20000)) GROUP BY "user_id", "object_type" ORDER BY "num" DESC LIMIT 10 |
| 20:13:02.390 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 20:13:02.390 | 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_api_log'
and d.nspname = 'global'
ORDER BY
a.attnum; |
| 20:13:02.393 | 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_api_log'
and ns.nspname='global'
order by
fns.nspname, fc.relname, a.attnum |
| 20:13:02.404 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 20:13:02.404 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 20:13:02.404 | info | yii\db\Command::query | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time", "duration") VALUES (200, 'a57be577deb434', 1001, 5, 'vue/history/list-module', '{"web_access_token":"jc18-MbwnQYXsQ0nIniVZCT_0yFv9PMr"}', '{"code":2000,"result":{"list":[{"id":20000,"title":"\u8fdb\u9500\u5b58","icon":"icon-jinxiaocun","appName":"erp","isRouteShow":1,"url":"\/erp"},{"id":1,"title":"\u5546\u673a\u4fe1\u606f","icon":"icon-shangjixinxi","appName":"project","isRouteShow":1,"url":"\/project"},{"id":30,"title":"\u7cfb\u7edf\u8bbe\u7f6e","icon":"icon-xitongshezhi","appName":"settings","isRouteShow":1,"url":"\/setting"},{"id":7,"title":"\u9500\u552e\u5408\u540c","icon":"icon-xiaoshouhetong","appName":"salesContracts","isRouteShow":1,"url":"\/salesContract"},{"id":23,"title":"\u7edf\u8ba1\u5206\u6790","icon":"icon-tongjifenxi","appName":"analysis","isRouteShow":1,"url":"\/analysis"},{"id":101,"title":"\u9879\u76ee\u7ba1\u7406","icon":"icon-xiangmuguanli","appName":"task","isRouteShow":1,"url":"\/task"},{"id":37,"title":"\u5ba1\u6279\u7ba1\u7406","icon":"icon-shenpi","appName":"approve","isRouteShow":1,"url":"\/approve"},{"id":20,"title":"\u8d39\u7528\u62a5\u9500","icon":"icon-feiyongbaoxiao","appName":"reimbursementManagement","isRouteShow":1,"url":"\/reimbursement"},{"id":13,"title":"\u91c7\u8d2d\u5408\u540c","icon":"icon-caigouhetong","appName":"purchasecost","isRouteShow":1,"url":"\/contract"},{"id":21,"title":"\u9500\u552e\u7ebf\u7d22","icon":"icon-xiaoshouxiansuo","appName":"source","isRouteShow":1,"url":"\/source"}]},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"mod":0,"ip":"117.133.84.85","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/148.0.0.0 Safari\/537.36"}', FALSE, '2026-06-05 20:13:02', 155978752) RETURNING "id" |
| 20:13:02.420 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 20:13:02.420 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |