17:44:28.299 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
17:44:28.299 | trace | yii\base\Module::getModule | Loading module: debug |
17:44:28.299 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
17:44:28.300 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
17:44:28.300 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
17:44:28.300 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:44:28.300 | trace | yii\base\Module::getModule | Loading module: gii |
17:44:28.300 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
17:44:28.300 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
17:44:28.300 | trace | yii\web\Application::handleRequest | Route requested: 'v2/contact/delete' |
17:44:28.300 | trace | yii\base\Module::getModule | Loading module: v2 |
17:44:28.301 | info | yii\web\Session::open | Session started |
17:44:28.301 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
17:44:28.303 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='c1glbS3oPWuii9fAd_nsZY9pK1ntZvhw' |
17:44:28.306 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:44:28.306 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:44:28.306 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:44:28.307 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:44:28.307 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5446 |
17:44:28.308 | trace | yii\base\Controller::runAction | Route to run: v2/contact/delete |
17:44:28.309 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:44:28.309 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
17:44:28.309 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking permission: deleteClientContact |
17:44:28.309 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
17:44:28.309 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: 电话销售 |
17:44:28.309 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: AccountManager |
17:44:28.309 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Treasurer |
17:44:28.309 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking permission: deleteSupplierContact |
17:44:28.309 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
17:44:28.309 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: 人力资源 |
17:44:28.309 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\ContactController::actionDelete() |
17:44:28.310 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_contacts" WHERE "id"='6126' |
17:44:28.310 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:44:28.310 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:44:28.311 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_suppliers" WHERE "id"=718 |
17:44:28.311 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:44:28.311 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:44:28.312 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_implement_records" WHERE "contact_id"=6126) |
17:44:28.314 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_cases" WHERE "contact_id"=6126) |
17:44:28.315 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_cases" WHERE "mp_submit_contact_id"=6126) |
17:44:28.318 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_callback_records" WHERE "contact_id"=6126) |
17:44:28.321 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_callback_records" WHERE "mp_submit_contact_id"=6126) |
17:44:28.323 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_contact_attend_pre_sales" WHERE "contact_id"=6126) |
17:44:28.325 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_contact_attend_pre_sales" WHERE "contact_id"=6126) |
17:44:28.326 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_work_log_contacts" WHERE "contact_id"=6126) |
17:44:28.332 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_sources" WHERE "contact_id"=6126) |
17:44:28.336 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_operation_contacts" WHERE "contact_id"=6126) |
17:44:28.338 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_operation_task_contacts" WHERE "contact_id"=6126) |
17:44:28.344 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:44:28.344 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:44:28.344 | 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', 718, 12, 6126, 15, 5446, '6126', '6126', '{"d1":"\u5218\u5a1f","d2":"\u5220\u9664\u4e86","d3":"\u8054\u7cfb\u4eba","d4":["a"]}') RETURNING "id" |
17:44:28.345 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:44:28.345 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:44:28.346 | 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', 554491, 'a:13:{s:2:"id";i:554491;s:9:"object_id";i:718;s:11:"object_type";i:12;s:9:"target_id";i:6126;s:18:"target_object_type";i:15;s:3:"act";i:3;s:9:"attribute";s:6:"delete";s:9:"old_value";s:4:"6126";s:9:"new_value";s:4:"6126";s:11:"description";s:84:"{"d1":"\u5218\u5a1f","d2":"\u5220\u9664\u4e86","d3":"\u8054\u7cfb\u4eba","d4":["a"]}";s:10:"created_by";i:5446;s:10:"created_at";N;s:9:"is_delete";N;}', '', 5446, '124.64.23.198') |
17:44:28.347 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_object_change_logs" SET "is_delete"=TRUE WHERE (("object_id"=6126) AND ("object_type"=15)) OR (("target_id"=6126) AND ("target_object_type"=15)) |
17:44:28.946 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_suppliers" WHERE "id"=718 |
17:44:28.947 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_contacts" WHERE "id"=6126 |
17:44:28.968 | 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\Contacts', 6126, '', '', 5446, '124.64.23.198') |
17:44:28.970 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:44:28.970 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:44:28.970 | 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', 5446, 6, 169, 'v2/contact/delete', '{"id":"6126","posttime":"1756460669","access_token":"c1glbS3oPWuii9fAd_nsZY9pK1ntZvhw","device_type":"6","version_code":"169","token":"c9ffe950e33c5fa697f30fc3128f08d3"}', '{"code":200,"data":"","status":1,"msg":[{"name":"success","success":"\u8054\u7cfb\u4eba\u5df2\u88ab\u6210\u529f\u5220\u9664","error":""}]}', FALSE, '2025-08-29 17:44:28') RETURNING "id" |