| 22:37:01.700 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 22:37:01.700 | trace | yii\base\Module::getModule | Loading module: debug |
| 22:37:01.700 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 22:37:01.701 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 22:37:01.701 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 22:37:01.701 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 22:37:01.701 | info | time tracing start | 1780411021701513984 |
| 22:37:01.701 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 22:37:01.701 | trace | yii\web\Application::handleRequest | Route requested: 'v2/task/save-edit' |
| 22:37:01.701 | trace | yii\base\Module::getModule | Loading module: v2 |
| 22:37:01.702 | info | yii\web\Session::open | Session started |
| 22:37:01.702 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 22:37:01.702 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='R8ScrIY1ab3sgHgv8KlMKFukwMtD6QYC' |
| 22:37:01.703 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 22:37:01.703 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 22:37:01.703 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 22:37:01.704 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 22:37:01.704 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
| 22:37:01.704 | trace | yii\base\Controller::runAction | Route to run: v2/task/save-edit |
| 22:37:01.704 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\TaskController::actionSaveEdit() |
| 22:37:01.704 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 22:37:01.705 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 22:37:01.705 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_tasks" WHERE "id"='1647' |
| 22:37:01.705 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 22:37:01.706 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking permission: updateTask |
| 22:37:01.706 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: StoreKeeper |
| 22:37:01.706 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Engineer |
| 22:37:01.706 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: TechDirector |
| 22:37:01.706 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: ProjectManager |
| 22:37:01.706 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: 电话销售 |
| 22:37:01.706 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: AccountManager |
| 22:37:01.706 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: 人力资源 |
| 22:37:01.706 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: SalesDirector |
| 22:37:01.706 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Treasurer |
| 22:37:01.706 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: CommercialAttache |
| 22:37:01.706 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: GM |
| 22:37:01.706 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Accountant |
| 22:37:01.706 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: SalesManager |
| 22:37:01.706 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: 软件开发 |
| 22:37:01.707 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'id' in 'app\models\Tasks'. |
| 22:37:01.707 | info | yii\db\Command::query | SELECT SUM(weight) FROM "a57be577deb434"."tbl_tasks" WHERE ("task_group_id"=106) AND ("id" != 1647) AND (parent_id is null) |
| 22:37:01.708 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_task_groups" WHERE "id"=106) |
| 22:37:01.708 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='1000') |
| 22:37:01.709 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000) |
| 22:37:01.710 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
| 22:37:01.711 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 22:37:01.711 | 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_object_change_logs'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
| 22:37:01.715 | 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_object_change_logs'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
| 22:37:01.727 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 22:37:01.727 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 22:37:01.727 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (2, 'title', 1647, 101, 1000, 'now()', '["9898\u554a\u554a"]', '["9898"]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u9879\u76ee\u5185\u5bb9","d4":["9898 <b>\u53d8\u4e3a<\/b> 9898\u554a\u554a"]}') |
| 22:37:01.739 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_tasks" SET "title"='9898啊啊', "head_of"=1000, "target_completed_at"='2026-06-16 00:00:00', "updated_at"='now()', "is_important"=1, "weight"=30, "progress"=33 WHERE "id"=1647 |
| 22:37:01.741 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 22:37:01.741 | 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_action_logs'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
| 22:37:01.744 | 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_action_logs'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
| 22:37:01.754 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 22:37:01.754 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 22:37:01.754 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Tasks', 1647, 'a:4:{s:5:"title";s:10:"9898啊啊";s:19:"target_completed_at";s:19:"2026-06-16 00:00:00";s:8:"start_at";s:19:"2026-05-31 00:00:00";s:6:"end_at";s:19:"2026-06-16 00:00:00";}', '', 1000, '117.133.84.85') |
| 22:37:01.766 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Tasks', 1647, 'a:2:{s:8:"start_at";s:19:"2026-05-31 00:00:00";s:6:"end_at";s:10:"2026-06-16";}', '', 1000, '117.133.84.85') |
| 22:37:01.767 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 22:37:01.767 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 22:37:01.767 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_task_groups" WHERE "id"=106 |
| 22:37:01.768 | info | yii\db\Command::query | SELECT SUM(weight) FROM "a57be577deb434"."tbl_tasks" WHERE ("task_group_id"=106) AND ("status"=1) |
| 22:37:01.768 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\TaskGroups', 106, 'a:0:{}', '', 1000, '117.133.84.85') |
| 22:37:01.769 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_tasks" WHERE "parent_id"=1647 |
| 22:37:01.770 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Tasks', 1648, 'a:0:{}', '', 1000, '117.133.84.85') |
| 22:37:01.771 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Tasks', 1650, 'a:1:{s:12:"completed_at";s:19:"2026-05-31 16:36:11";}', '', 1000, '117.133.84.85') |
| 22:37:01.772 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Tasks', 1651, 'a:0:{}', '', 1000, '117.133.84.85') |
| 22:37:01.773 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_tasks" SET "progress"=33 WHERE "id"=1647 |
| 22:37:01.774 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Tasks', 1647, 'a:3:{s:8:"progress";d:33.329999999999998;s:8:"start_at";s:19:"2026-05-31 00:00:00";s:6:"end_at";s:10:"2026-06-16";}', '', 1000, '117.133.84.85') |
| 22:37:01.775 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_task_groups" WHERE "id"=106 |
| 22:37:01.775 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Tasks', 1647, 'a:2:{s:8:"start_at";s:19:"2026-05-31 00:00:00";s:6:"end_at";s:10:"2026-06-16";}', '', 1000, '117.133.84.85') |
| 22:37:01.776 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
| 22:37:01.776 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "description") VALUES (2, 'update', 106, 102, 1647, 101, 1000, '[1647]', '[1647]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u6e05\u5355","d4":["9898\u554a\u554a"]}') RETURNING "id" |
| 22:37:01.777 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 640994, 'a:13:{s:2:"id";i:640994;s:9:"object_id";i:106;s:11:"object_type";i:102;s:9:"target_id";i:1647;s:18:"target_object_type";i:101;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:6:"[1647]";s:9:"new_value";s:6:"[1647]";s:11:"description";s:99:"{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u6e05\u5355","d4":["9898\u554a\u554a"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1000, '117.133.84.85') |
| 22:37:01.779 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 22:37:01.779 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 22:37:01.779 | info | yii\db\Command::query | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "version_code", "url", "request", "response", "php_error", "time", "duration") VALUES (200, 'a57be577deb434', 1000, 2, 1159, 'v2/task/save-edit', '{"Tasks":{"description":"","end_at":"2026-06-16","head_of":"1000","id":"1647","is_important":"1","progress":"33","start_at":"2026-05-31","target_completed_at":"","title":"9898\u554a\u554a","weight":"30"},"access_token":"R8ScrIY1ab3sgHgv8KlMKFukwMtD6QYC","device_type":"2","posttime":"1780411008","token":"f065d8944e457655539c7650279fe7d8","version_code":"1159"}', '{"code":200,"data":"","status":1,"msg":[{"name":"success","success":"\u9879\u76ee\u4efb\u52a1\u5df2\u88ab\u6210\u529f\u4fee\u6539","error":""}],"ip":"117.133.84.85","ua":"jinchangxiao\/2.3.156 (iPhone 12; iOS 26.5; Scale\/3.00)"}', FALSE, '2026-06-02 22:37:01', 77696000) RETURNING "id" |