| 17:05:05.143 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 17:05:05.143 | trace | yii\base\Module::getModule | Loading module: debug |
| 17:05:05.143 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 17:05:05.144 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 17:05:05.144 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 17:05:05.144 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:05:05.144 | info | time tracing start | 1780909505144577024 |
| 17:05:05.144 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 17:05:05.144 | trace | yii\web\Application::handleRequest | Route requested: 'v2/task/save-edit' |
| 17:05:05.144 | trace | yii\base\Module::getModule | Loading module: v2 |
| 17:05:05.145 | info | yii\web\Session::open | Session started |
| 17:05:05.145 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 17:05:05.145 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='R8ScrIY1ab3sgHgv8KlMKFukwMtD6QYC' |
| 17:05:05.146 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:05:05.146 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:05:05.146 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:05:05.147 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:05:05.147 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
| 17:05:05.147 | trace | yii\base\Controller::runAction | Route to run: v2/task/save-edit |
| 17:05:05.147 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\TaskController::actionSaveEdit() |
| 17:05:05.148 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:05:05.148 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:05:05.148 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_tasks" WHERE "id"='1645' |
| 17:05:05.148 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:05:05.149 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking permission: updateTask |
| 17:05:05.149 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: StoreKeeper |
| 17:05:05.149 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Engineer |
| 17:05:05.149 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: TechDirector |
| 17:05:05.149 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: ProjectManager |
| 17:05:05.149 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: 电话销售 |
| 17:05:05.149 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: AccountManager |
| 17:05:05.149 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: 人力资源 |
| 17:05:05.149 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: SalesDirector |
| 17:05:05.149 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Treasurer |
| 17:05:05.149 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: CommercialAttache |
| 17:05:05.149 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: GM |
| 17:05:05.149 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Accountant |
| 17:05:05.149 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: SalesManager |
| 17:05:05.149 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: 软件开发 |
| 17:05:05.150 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'id' in 'app\models\Tasks'. |
| 17:05:05.150 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_tasks" WHERE "id"='1596') |
| 17:05:05.150 | info | yii\db\Command::query | SELECT "id", "parent_id" FROM "a57be577deb434"."tbl_tasks" WHERE "id"='1596' |
| 17:05:05.151 | info | yii\db\Command::query | SELECT SUM(weight) FROM "a57be577deb434"."tbl_tasks" WHERE ("task_group_id"=106) AND ("id" != 1645) AND (parent_id is null) |
| 17:05:05.151 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_task_groups" WHERE "id"=106) |
| 17:05:05.151 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='1000') |
| 17:05:05.152 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000) |
| 17:05:05.152 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
| 17:05:05.153 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
| 17:05:05.153 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:05:05.153 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:05:05.153 | 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', 1645, 101, 1000, 'now()', '["AAhhhh"]', '["AA"]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u9879\u76ee\u5185\u5bb9","d4":["AA <b>\u53d8\u4e3a<\/b> AAhhhh"]}'), (2, 'start_at', 1645, 101, 1000, 'now()', '["2026-06-08 00:00:00"]', '["2026-05-31 00:00:00"]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u5f00\u59cb\u65e5\u671f","d4":["2026-05-31 00:00:00 <b>\u53d8\u4e3a<\/b> 2026-06-08 00:00:00"]}') |
| 17:05:05.155 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_tasks" SET "title"='AAhhhh', "head_of"=1000, "target_completed_at"='2026-06-12', "updated_at"='now()', "is_important"=0, "start_at"='2026-06-08', "end_at"='2026-06-12 00:00:00', "parent_id"=1596 WHERE "id"=1645 |
| 17:05:05.156 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:05:05.156 | 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; |
| 17:05:05.160 | 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 |
| 17:05:05.171 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:05:05.171 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 17:05:05.171 | 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', 1645, 'a:4:{s:5:"title";s:6:"AAhhhh";s:19:"target_completed_at";s:19:"2026-06-12 00:00:00";s:8:"start_at";s:19:"2026-06-08 00:00:00";s:6:"end_at";s:19:"2026-06-12 00:00:00";}', '', 1000, '117.136.0.52') |
| 17:05:05.172 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_tasks" WHERE "id"='1596' |
| 17:05:05.172 | 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', 1645, 'a:2:{s:19:"target_completed_at";s:10:"2026-06-12";s:8:"start_at";s:19:"2026-06-08 00:00:00";}', '', 1000, '117.136.0.52') |
| 17:05:05.173 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_tasks" WHERE "parent_id"=1645 |
| 17:05:05.174 | 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', 1646, 'a:4:{s:19:"target_completed_at";s:19:"2026-06-05 00:00:00";s:12:"completed_at";s:19:"2026-06-08 17:03:47";s:8:"start_at";s:19:"2026-05-31 00:00:00";s:6:"end_at";s:19:"2026-06-05 00:00:00";}', '', 1000, '117.136.0.52') |
| 17:05:05.175 | 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', 1685, 'a:2:{s:12:"completed_at";s:19:"2026-06-07 15:44:28";s:8:"start_at";s:19:"2026-06-07 00:00:00";}', '', 1000, '117.136.0.52') |
| 17:05:05.176 | 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', 1681, 'a:1:{s:12:"completed_at";s:19:"2026-06-06 10:43:45";}', '', 1000, '117.136.0.52') |
| 17:05:05.177 | 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', 1682, 'a:1:{s:12:"completed_at";s:19:"2026-06-06 10:44:09";}', '', 1000, '117.136.0.52') |
| 17:05:05.178 | 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', 1680, 'a:1:{s:12:"completed_at";s:19:"2026-06-06 10:43:10";}', '', 1000, '117.136.0.52') |
| 17:05:05.179 | 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', 1645, 'a:2:{s:19:"target_completed_at";s:10:"2026-06-12";s:8:"start_at";s:19:"2026-06-08 00:00:00";}', '', 1000, '117.136.0.52') |
| 17:05:05.179 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_tasks" WHERE "id"='1596' |
| 17:05:05.180 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_tasks" WHERE "parent_id"=1596 |
| 17:05:05.180 | 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', 1620, 'a:1:{s:12:"completed_at";s:19:"2026-05-26 17:21:16";}', '', 1000, '117.136.0.52') |
| 17:05:05.181 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_tasks" SET "end_out_value"=13 WHERE "id"=1645 |
| 17:05:05.182 | 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', 1645, 'a:3:{s:19:"target_completed_at";s:19:"2026-06-12 00:00:00";s:8:"start_at";s:19:"2026-06-08 00:00:00";s:6:"end_at";s:19:"2026-06-12 00:00:00";}', '', 1000, '117.136.0.52') |
| 17:05:05.183 | 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', 1596, 'a:3:{s:19:"target_completed_at";s:19:"2026-05-30 00:00:00";s:8:"start_at";s:19:"2026-05-22 00:00:00";s:6:"end_at";s:19:"2026-05-30 00:00:00";}', '', 1000, '117.136.0.52') |
| 17:05:05.184 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_task_groups" WHERE "id"=106 |
| 17:05:05.184 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:05:05.184 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:05:05.184 | 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', 1596, 'a:3:{s:19:"target_completed_at";s:19:"2026-05-30 00:00:00";s:8:"start_at";s:19:"2026-05-22 00:00:00";s:6:"end_at";s:19:"2026-05-30 00:00:00";}', '', 1000, '117.136.0.52') |
| 17:05:05.185 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_task_groups" WHERE "id"=106 |
| 17:05:05.185 | info | yii\db\Command::query | SELECT SUM(weight) FROM "a57be577deb434"."tbl_tasks" WHERE ("task_group_id"=106) AND ("status"=1) |
| 17:05:05.186 | info | yii\db\Command::query | SELECT "status", "progress" FROM "a57be577deb434"."tbl_tasks" WHERE ("task_group_id"=106) AND (parent_id is null) |
| 17:05:05.186 | 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.136.0.52') |
| 17:05:05.187 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
| 17:05:05.188 | 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, 1645, 101, 1000, '[1645]', '[1645]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u6e05\u5355","d4":["AAhhhh"]}') RETURNING "id" |
| 17:05:05.189 | 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', 641517, 'a:13:{s:2:"id";i:641517;s:9:"object_id";i:106;s:11:"object_type";i:102;s:9:"target_id";i:1645;s:18:"target_object_type";i:101;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:6:"[1645]";s:9:"new_value";s:6:"[1645]";s:11:"description";s:89:"{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u6e05\u5355","d4":["AAhhhh"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1000, '117.136.0.52') |
| 17:05:05.190 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
| 17:05:05.190 | 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', 1596, 101, 1645, 101, 1000, '[1645]', '[1645]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u6e05\u5355","d4":["AAhhhh"]}') RETURNING "id" |
| 17:05:05.192 | 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', 641518, 'a:13:{s:2:"id";i:641518;s:9:"object_id";s:4:"1596";s:11:"object_type";i:101;s:9:"target_id";i:1645;s:18:"target_object_type";i:101;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:6:"[1645]";s:9:"new_value";s:6:"[1645]";s:11:"description";s:89:"{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u6e05\u5355","d4":["AAhhhh"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1000, '117.136.0.52') |
| 17:05:05.193 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:05:05.193 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:05:05.193 | 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":{"head_of":"1000","id":"1645","is_important":"0","parent_id":"1596","start_at":"2026-05-31","target_completed_at":"2026-06-12","title":"AAhhhh"},"access_token":"R8ScrIY1ab3sgHgv8KlMKFukwMtD6QYC","device_type":"2","posttime":"1780909440","token":"f093126450c5373f65001d8b668d7f04","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.136.0.52","ua":"jinchangxiao\/2.3.156 (iPhone 12; iOS 26.5; Scale\/3.00)"}', FALSE, '2026-06-08 17:05:05', 49187840) RETURNING "id" |