| 15:17:06.453 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 15:17:06.453 | trace | yii\base\Module::getModule | Loading module: debug |
| 15:17:06.454 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 15:17:06.454 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 15:17:06.454 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 15:17:06.454 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:17:06.454 | info | time tracing start | 1780298226454600960 |
| 15:17:06.454 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 15:17:06.454 | trace | yii\web\Application::handleRequest | Route requested: 'vue/account/get-client-visit-auth' |
| 15:17:06.454 | trace | yii\base\Module::getModule | Loading module: vue |
| 15:17:06.455 | info | yii\web\Session::open | Session started |
| 15:17:06.455 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=5493 |
| 15:17:06.455 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 15:17:06.456 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:17:06.456 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 15:17:06.457 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:17:06.457 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 15:17:06.457 | info | yii\db\Command::query | SELECT * FROM "o6a13e2c574d5a"."tbl_users" WHERE "id"=5493 |
| 15:17:06.458 | trace | yii\base\Controller::runAction | Route to run: vue/account/get-client-visit-auth |
| 15:17:06.458 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:17:06.458 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 15:17:06.458 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\AccountController::actionGetClientVisitAuth() |
| 15:17:06.458 | info | yii\db\Command::query | SELECT * FROM "o6a13e2c574d5a"."tbl_users" WHERE "id"='5495' |
| 15:17:06.459 | info | yii\db\Command::query | SELECT * FROM "o6a13e2c574d5a"."tbl_auth_assignments" WHERE "user_id"=5495 |
| 15:17:06.460 | info | yii\db\Command::query | SELECT * FROM "o6a13e2c574d5a"."tbl_auth_items" WHERE ("type"='1') AND ("name"='Treasurer') |
| 15:17:06.460 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:17:06.460 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 15:17:06.460 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "o6a13e2c574d5a"."tbl_groups" |
| 15:17:06.461 | info | yii\db\Command::query | SELECT * FROM "o6a13e2c574d5a"."tbl_sales_group_relationships" WHERE "group_id" IN (1, 2, 3, 4, 999999) |
| 15:17:06.461 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "user_status" FROM "o6a13e2c574d5a"."tbl_users" WHERE "id" IN (5493, 5495) ORDER BY "user_status" DESC, "created_at" |
| 15:17:06.462 | info | yii\db\Command::query | SELECT "b".* FROM "o6a13e2c574d5a"."tbl_auth_assignments" "a", "o6a13e2c574d5a"."tbl_auth_items" "b" WHERE ("a"."item_name"="b"."name") AND ("a"."user_id"='5493') AND ("b"."type"=1) |
| 15:17:06.462 | info | yii\db\Command::query | SELECT "b".* FROM "o6a13e2c574d5a"."tbl_auth_assignments" "a", "o6a13e2c574d5a"."tbl_auth_items" "b" WHERE ("a"."item_name"="b"."name") AND ("a"."user_id"='5495') AND ("b"."type"=1) |
| 15:17:06.463 | info | yii\db\Command::query | SELECT DISTINCT "group_id", "sales_id" FROM "o6a13e2c574d5a"."tbl_user_resource_relationships" WHERE "user_id"=5495 |
| 15:17:06.465 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:17:06.465 | 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_user_resource_relationships'
and d.nspname = 'o6a13e2c574d5a'
ORDER BY
a.attnum; |
| 15:17:06.470 | 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_user_resource_relationships'
and ns.nspname='o6a13e2c574d5a'
order by
fns.nspname, fc.relname, a.attnum |
| 15:17:06.486 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 15:17:06.486 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 15:17:06.486 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:17:06.486 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 15:17:06.486 | 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, 'o6a13e2c574d5a', 5493, 5, 'vue/account/get-client-visit-auth', '{"id":"5495","web_access_token":"YwFaPh8a1dbQrFwOp6grZ7RlSTuMSejO"}', '{"code":2000,"result":{"model":{"departments":[1],"users":[5493,5495]},"options":[{"key":"departments","name":"\u9500\u552e\u7ec4","value":[{"id":1,"key":1,"name":"\u672a\u5206\u7ec4","child":[{"id":5493,"key":5493,"name":"97289742","user_status":"1"},{"id":5495,"key":5495,"name":"\u903b\u8f91\u6d4b\u8bd5(\u5df2\u8f6c\u5c97)","user_status":"-1"}]},{"id":2,"key":2,"name":"\u9500\u552e\u4e00\u7ec4","child":[]},{"id":3,"key":3,"name":"\u9500\u552e\u4e8c\u7ec4","child":[]},{"id":4,"key":4,"name":"\u9500\u552e\u4e09\u7ec4","child":[]},{"id":999999,"key":999999,"name":"\u79bb\u804c\u4eba\u5458","child":[]}],"default":"","itemKey":"users"}],"is_admin":false,"visit_resource_sync":true,"view_public":true},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"mod":0,"ip":"43.224.72.82","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:151.0) Gecko\/20100101 Firefox\/151.0"}', FALSE, '2026-06-01 15:17:06', 32250112) RETURNING "id" |
| 15:17:06.488 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:17:06.488 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |