17:44:02.099 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
17:44:02.099 | trace | yii\base\Module::getModule | Loading module: debug |
17:44:02.100 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
17:44:02.100 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
17:44:02.100 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
17:44:02.100 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:44:02.100 | trace | yii\base\Module::getModule | Loading module: gii |
17:44:02.100 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
17:44:02.100 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
17:44:02.100 | trace | yii\web\Application::handleRequest | Route requested: 'v2/contact/save-edit' |
17:44:02.100 | trace | yii\base\Module::getModule | Loading module: v2 |
17:44:02.101 | info | yii\web\Session::open | Session started |
17:44:02.101 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
17:44:02.103 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='c1glbS3oPWuii9fAd_nsZY9pK1ntZvhw' |
17:44:02.106 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:44:02.106 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:44:02.107 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:44:02.107 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:44:02.107 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5446 |
17:44:02.108 | trace | yii\base\Controller::runAction | Route to run: v2/contact/save-edit |
17:44:02.109 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:44:02.109 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
17:44:02.110 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking permission: updateClientContact |
17:44:02.110 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Engineer |
17:44:02.110 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
17:44:02.110 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: TechDirector |
17:44:02.110 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: 电话销售 |
17:44:02.110 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: SalesManager |
17:44:02.110 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: SalesDirector |
17:44:02.110 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: GM |
17:44:02.110 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: StoreKeeper |
17:44:02.110 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: AccountManager |
17:44:02.110 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Accountant |
17:44:02.110 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: CommercialAttache |
17:44:02.110 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Treasurer |
17:44:02.110 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking permission: updateSupplierContact |
17:44:02.110 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
17:44:02.110 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: TechDirector |
17:44:02.110 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: StoreKeeper |
17:44:02.110 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: SalesDirector |
17:44:02.110 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: ProjectManager |
17:44:02.110 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: 电话销售 |
17:44:02.110 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Engineer |
17:44:02.110 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: 人力资源 |
17:44:02.110 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\ContactController::actionSaveEdit() |
17:44:02.110 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_contacts" WHERE "id"='6127' |
17:44:02.110 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:44:02.111 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:44:02.111 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_suppliers" WHERE "id"=718 |
17:44:02.111 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:44:02.112 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:44:02.112 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'id' in 'app\models\Contacts'. |
17:44:02.112 | info | yii\db\Command::query | SELECT "c".* FROM "a57be577deb434"."tbl_contacts" "c" LEFT JOIN "a57be577deb434"."tbl_contact_mobiles" "cm" ON c.id = cm.contact_id WHERE ("client_id" IS NULL) AND (client_id is not null) AND ("c"."id" != 6127) AND ("cm"."mobile"='13444444444') AND ("c"."user_status" != 1) GROUP BY "c"."id" |
17:44:02.114 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_contact_statuses" WHERE "id"='2') |
17:44:02.114 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_suppliers" WHERE "id"=718) |
17:44:02.115 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5446) |
17:44:02.115 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:44:02.115 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:44:02.115 | 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, 'contact.description', 718, 12, 5446, 'now()', '["\u53d1\u5e7f\u544a"]', '[""]', '{"d1":"\u5218\u5a1f","d2":"\u66f4\u65b0\u4e86","d3":"\u5907\u6ce8(B)","d4":["\u53d1\u5e7f\u544a"]}') |
17:44:02.117 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_contact_statuses" WHERE "id"='2') |
17:44:02.117 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_suppliers" WHERE "id"=718) |
17:44:02.117 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5446) |
17:44:02.118 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_contacts" SET "birth_date"=NULL, "updated_at"='now()', "user_status"=2, "description"='发广告' WHERE "id"=6127 |
17:44:02.119 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:44:02.120 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:44:02.120 | 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\Contacts', 6127, 'a:1:{s:11:"description";s:9:"发广告";}', '', 5446, '124.64.23.198') |
17:44:02.121 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_suppliers" WHERE "id"=718 |
17:44:02.121 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_contact_mobiles" WHERE "contact_id"=6127 |
17:44:02.122 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:44:02.122 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:44:02.122 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_contact_mobiles" WHERE ("contact_id"=6127) AND ("mobile"<>'13444444444') |
17:44:02.122 | info | yii\db\Command::execute | |
17:44:02.123 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=6127 |
17:44:02.123 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=11) AND ("id" IN (1, 184, 349)) ORDER BY "sort" |
17:44:02.124 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=6127) AND ("term_id"=11) |
17:44:02.124 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=6127 |
17:44:02.124 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=12) AND ("id" IN (1, 184, 349)) ORDER BY "sort" |
17:44:02.125 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=6127) AND ("term_id"=12) |
17:44:02.125 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:44:02.125 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:44:02.125 | 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, 0, 266, 'v2/contact/save-edit', '{"access_token":"c1glbS3oPWuii9fAd_nsZY9pK1ntZvhw","device_type":"0","Contacts":{"telephone":"","telephone_extension_number":"","sex":"M","department":"","user_status":"2","description":"\u53d1\u5e7f\u544a","birth_date":"","id":"6127","email":"","telephone_area_code":"","job_position":"","name":"B","mobiles":["13444444444"]},"version_code":"266","token":"151e504890177b2194e5f1ce5623bb3a","posttime":"1756460642"}', '{"code":200,"data":"","status":1,"msg":[{"name":"success","success":"\u8054\u7cfb\u4eba\u5df2\u88ab\u6210\u529f\u4fee\u6539","error":""}]}', FALSE, '2025-08-29 17:44:02') RETURNING "id" |