17:29:28.360 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
17:29:28.360 | trace | yii\base\Module::getModule | Loading module: debug |
17:29:28.361 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
17:29:28.361 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
17:29:28.361 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
17:29:28.361 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:29:28.361 | trace | yii\base\Module::getModule | Loading module: gii |
17:29:28.361 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
17:29:28.361 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
17:29:28.361 | trace | yii\web\Application::handleRequest | Route requested: 'v2/schedule/save-edit' |
17:29:28.361 | trace | yii\base\Module::getModule | Loading module: v2 |
17:29:28.362 | info | yii\web\Session::open | Session started |
17:29:28.362 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
17:29:28.364 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='NwDlebRkXSJbZFNIiImHKy4sVWr3Lufc' |
17:29:28.367 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:29:28.367 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:29:28.367 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:29:28.367 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:29:28.368 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1004 |
17:29:28.369 | trace | yii\base\Controller::runAction | Route to run: v2/schedule/save-edit |
17:29:28.369 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:29:28.370 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
17:29:28.370 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking permission: createSchedule |
17:29:28.370 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Accountant |
17:29:28.370 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: TechDirector |
17:29:28.370 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Engineer |
17:29:28.370 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: CommercialAttache |
17:29:28.370 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: 电话销售 |
17:29:28.370 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: SalesManager |
17:29:28.370 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: SalesDirector |
17:29:28.370 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\ScheduleController::actionSaveEdit() |
17:29:28.370 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_schedules" WHERE "id"='17705' |
17:29:28.370 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:29:28.371 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:29:28.371 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking permission: updateSchedule |
17:29:28.371 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Accountant |
17:29:28.371 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: TechDirector |
17:29:28.371 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Engineer |
17:29:28.371 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
17:29:28.371 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: CommercialAttache |
17:29:28.371 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: 电话销售 |
17:29:28.371 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: SalesManager |
17:29:28.371 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: SalesDirector |
17:29:28.371 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'headUsers' in 'app\models\Schedules'. |
17:29:28.371 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'id' in 'app\models\Schedules'. |
17:29:28.371 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815') |
17:29:28.372 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='3822') |
17:29:28.373 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1004) |
17:29:28.373 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1004) |
17:29:28.373 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1004 |
17:29:28.374 | info | yii\db\Command::execute | |
17:29:28.374 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_schedules" SET "client_id"=2815, "start_at"='2025-07-13 17:28', "end_at"='2025-07-13 18:00', "is_public"=1, "project_id"=3822, "updated_at"='now()' WHERE "id"=17705 |
17:29:28.375 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:29:28.375 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:29:28.375 | 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\Schedules', 17705, 'a:2:{s:8:"start_at";s:19:"2025-07-13 17:28:00";s:6:"end_at";s:19:"2025-07-13 18:00:00";}', '', 1004, '120.244.156.33') |
17:29:28.376 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=9) AND ("object_id"=17705) |
17:29:28.378 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:29:28.378 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:29:28.378 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1004 |
17:29:28.378 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:29:28.378 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:29:28.378 | 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, 'AttachmentRelationships', 17705, 9, 1004, 'now()', '[[]]', '"24892"', '{"d1":"\u4f0a\u5cfb\u8fb0","d2":"\u66f4\u65b0\u4e86","d3":"\u56fe\u7247","d4":[""]}') |
17:29:28.379 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=9) AND ("object_id"=17705) |
17:29:28.381 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_schedule_carbon_copy_rels" WHERE "schedule_id"=17705 |
17:29:28.381 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_schedule_carbon_copy_rels" WHERE "schedule_id"=17705 |
17:29:28.382 | info | yii\db\Command::query | SELECT "id" FROM "a57be577deb434"."tbl_schedule_descriptions" WHERE "schedule_id"=17705 |
17:29:28.383 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_schedule_descriptions" WHERE ("schedule_id"=17705) |
17:29:28.384 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_schedule_carbon_copy_rels" WHERE "schedule_id"=17705 |
17:29:28.384 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:29:28.385 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:29:28.385 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:29:28.385 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:29:28.386 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_schedules" WHERE "id"=17705 |
17:29:28.386 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1004) |
17:29:28.386 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "description", "is_system", "description2") VALUES (1004, '9', 17705, '伊峻辰更新了一条待办事项', TRUE, '回复回复娜娜') RETURNING "id" |
17:29:28.388 | 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\Comments', 170503, 'a:11:{s:2:"id";i:170503;s:9:"object_id";i:17705;s:11:"object_type";s:1:"9";s:6:"parent";N;s:11:"description";s:36:"伊峻辰更新了一条待办事项";s:10:"created_by";i:1004;s:10:"created_at";N;s:8:"reply_to";N;s:9:"is_system";b:1;s:8:"for_user";N;s:12:"description2";s:18:"回复回复娜娜";}', '', 1004, '120.244.156.33') |
17:29:28.388 | info | yii\db\Command::query | SELECT "channel_id" FROM "global"."tbl_logins" WHERE (0=1) AND ("id" != 1004) AND (channel_id IS NOT NULL) |
17:29:28.389 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:29:28.389 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:29:28.389 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815' |
17:29:28.391 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()' WHERE "id"=2815 |
17:29:28.392 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=2815) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
17:29:28.401 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:29:28.401 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:29:28.401 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (2815, 1004, 'now()', NULL) RETURNING "id" |
17:29:28.402 | 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\ClientAmChangeLogs', 165362, 'a:5:{s:2:"id";i:165362;s:9:"client_id";i:2815;s:9:"sales_rep";i:1004;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1004, '120.244.156.33') |
17:29:28.403 | 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\Clients', 2815, 'a:0:{}', '', 1004, '120.244.156.33') |
17:29:28.404 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1004 |
17:29:28.404 | 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', 2815, 10, 17705, 9, 1004, '[17705]', '[17705]', '{"d1":"\u4f0a\u5cfb\u8fb0","d2":"\u66f4\u65b0\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[""]}') RETURNING "id" |
17:29:28.405 | 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', 510837, 'a:13:{s:2:"id";i:510837;s:9:"object_id";s:4:"2815";s:11:"object_type";i:10;s:9:"target_id";i:17705;s:18:"target_object_type";i:9;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:7:"[17705]";s:9:"new_value";s:7:"[17705]";s:11:"description";s:95:"{"d1":"\u4f0a\u5cfb\u8fb0","d2":"\u66f4\u65b0\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[""]}";s:10:"created_by";i:1004;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1004, '120.244.156.33') |
17:29:28.406 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815' |
17:29:28.407 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1004 |
17:29:28.407 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:29:28.407 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:29:28.407 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_user_action_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "users", "description") VALUES (2, 'update', 2815, 10, 17705, 9, 1004, '17705', '17705', array[1004], '{"d1":"\u4f0a\u5cfb\u8fb0","d2":"\u66f4\u65b0\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[""]}') RETURNING "id" |
17:29:28.408 | 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\UserActionLogs', 137236, 'a:15:{s:2:"id";i:137236;s:9:"object_id";s:4:"2815";s:11:"object_type";i:10;s:9:"target_id";i:17705;s:18:"target_object_type";i:9;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:5:"17705";s:9:"new_value";s:5:"17705";s:5:"users";O:17:"yii\db\Expression":2:{s:10:"expression";s:11:"array[1004]";s:6:"params";a:0:{}}s:11:"description";s:95:"{"d1":"\u4f0a\u5cfb\u8fb0","d2":"\u66f4\u65b0\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[""]}";s:10:"created_by";i:1004;s:10:"created_at";N;s:9:"is_delete";N;s:9:"parent_id";N;}', '', 1004, '120.244.156.33') |
17:29:28.409 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:29:28.409 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:29:28.409 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='3822' |
17:29:28.410 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_projects" SET "updated_at"='now()' WHERE "id"=3822 |
17:29:28.412 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=3822) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
17:29:28.413 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:29:28.413 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:29:28.413 | 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\Projects', 3822, 'a:0:{}', '', 1004, '120.244.156.33') |
17:29:28.414 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2815 |
17:29:28.414 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1004 |
17:29:28.415 | 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', 3822, 1, 17705, 9, 1004, '[17705]', '[17705]', '{"d1":"\u4f0a\u5cfb\u8fb0","d2":"\u66f4\u65b0\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[""]}') RETURNING "id" |
17:29:28.416 | 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', 510838, 'a:13:{s:2:"id";i:510838;s:9:"object_id";s:4:"3822";s:11:"object_type";i:1;s:9:"target_id";i:17705;s:18:"target_object_type";i:9;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:7:"[17705]";s:9:"new_value";s:7:"[17705]";s:11:"description";s:95:"{"d1":"\u4f0a\u5cfb\u8fb0","d2":"\u66f4\u65b0\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[""]}";s:10:"created_by";i:1004;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1004, '120.244.156.33') |
17:29:28.417 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='3822' |
17:29:28.417 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2815 |
17:29:28.417 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1004 |
17:29:28.418 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_user_action_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "users", "description") VALUES (2, 'update', 3822, 1, 17705, 9, 1004, '17705', '17705', array[1004], '{"d1":"\u4f0a\u5cfb\u8fb0","d2":"\u66f4\u65b0\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[""]}') RETURNING "id" |
17:29:28.419 | 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\UserActionLogs', 137237, 'a:15:{s:2:"id";i:137237;s:9:"object_id";s:4:"3822";s:11:"object_type";i:1;s:9:"target_id";i:17705;s:18:"target_object_type";i:9;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:5:"17705";s:9:"new_value";s:5:"17705";s:5:"users";O:17:"yii\db\Expression":2:{s:10:"expression";s:11:"array[1004]";s:6:"params";a:0:{}}s:11:"description";s:95:"{"d1":"\u4f0a\u5cfb\u8fb0","d2":"\u66f4\u65b0\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[""]}";s:10:"created_by";i:1004;s:10:"created_at";N;s:9:"is_delete";N;s:9:"parent_id";N;}', '', 1004, '120.244.156.33') |
17:29:28.420 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:29:28.420 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:29:28.420 | 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") VALUES (200, 'a57be577deb434', 1004, 2, 1141, 'v2/schedule/save-edit', '{"Schedules":{"alarm_before":"00:05:00","client_id":"2815","end_at":"2025-07-13 18:00","form_scheduleCarbonCopyRels":"","headUsers":"","id":"17705","is_public":"1","project_id":"3822","schedule_title":"\u56de\u590d\u56de\u590d\u5a1c\u5a1c","start_at":"2025-07-13 17:28"},"access_token":"NwDlebRkXSJbZFNIiImHKy4sVWr3Lufc","device_type":"2","posttime":"1752398976","token":"f3813a21d058e990917521513353a584","version_code":"1141"}', '{"code":200,"data":"","status":1,"msg":[{"name":"success","success":"\u5f85\u529e\u4e8b\u9879\u5df2\u88ab\u6210\u529f\u4fee\u6539","error":""}]}', FALSE, '2025-07-13 17:29:28') RETURNING "id" |