17:29:46.020 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
17:29:46.020 | trace | yii\base\Module::getModule | Loading module: debug |
17:29:46.020 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
17:29:46.020 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
17:29:46.020 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
17:29:46.020 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:29:46.021 | trace | yii\base\Module::getModule | Loading module: gii |
17:29:46.021 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
17:29:46.021 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
17:29:46.021 | trace | yii\web\Application::handleRequest | Route requested: 'v2/schedule/delete' |
17:29:46.021 | trace | yii\base\Module::getModule | Loading module: v2 |
17:29:46.021 | info | yii\web\Session::open | Session started |
17:29:46.022 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
17:29:46.024 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='NwDlebRkXSJbZFNIiImHKy4sVWr3Lufc' |
17:29:46.026 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:29:46.027 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:29:46.027 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:29:46.027 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:29:46.027 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1004 |
17:29:46.028 | trace | yii\base\Controller::runAction | Route to run: v2/schedule/delete |
17:29:46.029 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:29:46.029 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
17:29:46.029 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking permission: deleteSchedule |
17:29:46.029 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Accountant |
17:29:46.029 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: TechDirector |
17:29:46.029 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
17:29:46.029 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: 电话销售 |
17:29:46.029 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: SalesDirector |
17:29:46.029 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\ScheduleController::actionDelete() |
17:29:46.029 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_schedules" WHERE "id"='17705' |
17:29:46.030 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:29:46.030 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:29:46.030 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_comments" WHERE ("object_id"=17705) AND ("object_type"=9) |
17:29:46.150 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_id"=17705) AND ("object_type"=9) |
17:29:46.161 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_visit_object_histories" WHERE ("object_id"=17705) AND ("object_type"=9) |
17:29:46.164 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=9) AND ("object_id"=17705) |
17:29:46.166 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:29:46.166 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:29:46.166 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2815 |
17:29:46.168 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()' WHERE "id"=2815 |
17:29:46.169 | 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:46.178 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:29:46.178 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:29:46.179 | 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:46.180 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:29:46.180 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:29:46.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 ('INSERT', 'app\models\ClientAmChangeLogs', 165365, 'a:5:{s:2:"id";i:165365;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:46.181 | 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:46.182 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1004 |
17:29:46.182 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:29:46.183 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:29:46.183 | 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 (3, 'delete', 2815, 10, 17705, 9, 1004, '[17705]', '[17705]', '{"d1":"\u4f0a\u5cfb\u8fb0","d2":"\u5220\u9664\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[""]}') RETURNING "id" |
17:29:46.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 ('INSERT', 'app\models\ObjectChangeLogs', 510848, 'a:13:{s:2:"id";i:510848;s:9:"object_id";i:2815;s:11:"object_type";i:10;s:9:"target_id";i:17705;s:18:"target_object_type";i:9;s:3:"act";i:3;s:9:"attribute";s:6:"delete";s:9:"old_value";s:7:"[17705]";s:9:"new_value";s:7:"[17705]";s:11:"description";s:95:"{"d1":"\u4f0a\u5cfb\u8fb0","d2":"\u5220\u9664\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:46.185 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2815 |
17:29:46.185 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1004 |
17:29:46.186 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:29:46.186 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:29:46.186 | 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 (3, 'delete', 2815, 10, 17705, 9, 1004, '17705', '17705', array[1004], '{"d1":"\u4f0a\u5cfb\u8fb0","d2":"\u5220\u9664\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[""]}') RETURNING "id" |
17:29:46.187 | 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', 137242, 'a:15:{s:2:"id";i:137242;s:9:"object_id";i:2815;s:11:"object_type";i:10;s:9:"target_id";i:17705;s:18:"target_object_type";i:9;s:3:"act";i:3;s:9:"attribute";s:6:"delete";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":"\u5220\u9664\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:46.188 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:29:46.188 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:29:46.188 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3822 |
17:29:46.189 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_projects" SET "updated_at"='now()' WHERE "id"=3822 |
17:29:46.191 | 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:46.192 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:29:46.192 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:29:46.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 ('UPDATE', 'app\models\Projects', 3822, 'a:0:{}', '', 1004, '120.244.156.33') |
17:29:46.193 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2815 |
17:29:46.194 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1004 |
17:29:46.194 | 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 (3, 'delete', 3822, 1, 17705, 9, 1004, '[17705]', '[17705]', '{"d1":"\u4f0a\u5cfb\u8fb0","d2":"\u5220\u9664\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[""]}') RETURNING "id" |
17:29:46.195 | 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', 510849, 'a:13:{s:2:"id";i:510849;s:9:"object_id";i:3822;s:11:"object_type";i:1;s:9:"target_id";i:17705;s:18:"target_object_type";i:9;s:3:"act";i:3;s:9:"attribute";s:6:"delete";s:9:"old_value";s:7:"[17705]";s:9:"new_value";s:7:"[17705]";s:11:"description";s:95:"{"d1":"\u4f0a\u5cfb\u8fb0","d2":"\u5220\u9664\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:46.196 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3822 |
17:29:46.196 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2815 |
17:29:46.197 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1004 |
17:29:46.197 | 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 (3, 'delete', 3822, 1, 17705, 9, 1004, '17705', '17705', array[1004], '{"d1":"\u4f0a\u5cfb\u8fb0","d2":"\u5220\u9664\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[""]}') RETURNING "id" |
17:29:46.198 | 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', 137243, 'a:15:{s:2:"id";i:137243;s:9:"object_id";i:3822;s:11:"object_type";i:1;s:9:"target_id";i:17705;s:18:"target_object_type";i:9;s:3:"act";i:3;s:9:"attribute";s:6:"delete";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":"\u5220\u9664\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:46.199 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_object_change_logs" SET "is_delete"=TRUE WHERE (("object_id"=17705) AND ("object_type"=9)) OR (("target_id"=17705) AND ("target_object_type"=9)) |
17:29:46.905 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_user_action_logs" SET "is_delete"=TRUE WHERE (("object_id"=17705) AND ("object_type"=9)) OR (("target_id"=17705) AND ("target_object_type"=9)) |
17:29:47.224 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_comments" WHERE ("object_id"=17705) AND ("object_type"=9) |
17:29:47.235 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_id"=17705) AND ("object_type"=9) |
17:29:47.246 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_schedules" WHERE "id"=17705 |
17:29:47.252 | 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 ('DELETE', 'app\models\Schedules', 17705, '', '', 1004, '120.244.156.33') |
17:29:47.253 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:29:47.253 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:29:47.253 | 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/delete', '{"access_token":"NwDlebRkXSJbZFNIiImHKy4sVWr3Lufc","device_type":"2","id":"17705","posttime":"1752398976","token":"45907ecadba4b5b3e50c42176aa97fbf","version_code":"1141"}', '{"code":200,"data":"","status":1,"msg":[{"name":"success","success":"\u5f85\u529e\u4e8b\u9879\u5df2\u88ab\u6210\u529f\u5220\u9664","error":""}]}', FALSE, '2025-07-13 17:29:47') RETURNING "id" |