17:43:59.924 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
17:43:59.924 | trace | yii\base\Module::getModule | Loading module: debug |
17:43:59.925 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
17:43:59.925 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
17:43:59.925 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
17:43:59.925 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:43:59.925 | trace | yii\base\Module::getModule | Loading module: gii |
17:43:59.925 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
17:43:59.926 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
17:43:59.926 | trace | yii\web\Application::handleRequest | Route requested: 'v2/contact/save-edit' |
17:43:59.926 | trace | yii\base\Module::getModule | Loading module: v2 |
17:43:59.926 | info | yii\web\Session::open | Session started |
17:43:59.926 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
17:43:59.928 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='c1glbS3oPWuii9fAd_nsZY9pK1ntZvhw' |
17:43:59.931 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:43:59.931 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:43:59.932 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:43:59.932 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:43:59.932 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5446 |
17:43:59.933 | trace | yii\base\Controller::runAction | Route to run: v2/contact/save-edit |
17:43:59.934 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:43:59.935 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
17:43:59.935 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking permission: updateClientContact |
17:43:59.935 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Engineer |
17:43:59.935 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
17:43:59.935 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: TechDirector |
17:43:59.935 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: 电话销售 |
17:43:59.935 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: SalesManager |
17:43:59.935 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: SalesDirector |
17:43:59.935 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: GM |
17:43:59.935 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: StoreKeeper |
17:43:59.935 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: AccountManager |
17:43:59.935 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Accountant |
17:43:59.935 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: CommercialAttache |
17:43:59.935 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Treasurer |
17:43:59.935 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking permission: updateSupplierContact |
17:43:59.935 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
17:43:59.935 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: TechDirector |
17:43:59.935 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: StoreKeeper |
17:43:59.935 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: SalesDirector |
17:43:59.935 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: ProjectManager |
17:43:59.935 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: 电话销售 |
17:43:59.935 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Engineer |
17:43:59.935 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: 人力资源 |
17:43:59.935 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\ContactController::actionSaveEdit() |
17:43:59.935 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_contacts" WHERE "id"='6126' |
17:43:59.936 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:43:59.936 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:43:59.936 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_suppliers" WHERE "id"=718 |
17:43:59.937 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:43:59.937 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:43:59.937 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'id' in 'app\models\Contacts'. |
17:43:59.937 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'contactAttitude' in 'app\models\Contacts'. |
17:43:59.938 | 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" != 6126) AND ("cm"."mobile"='13333333333') AND ("c"."user_status" != 1) GROUP BY "c"."id" |
17:43:59.939 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_contact_statuses" WHERE "id"='2') |
17:43:59.940 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_suppliers" WHERE "id"=718) |
17:43:59.940 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5446) |
17:43:59.941 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:43:59.941 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:43:59.941 | 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()', '["VV\u54c8\u54c8"]', '[""]', '{"d1":"\u5218\u5a1f","d2":"\u66f4\u65b0\u4e86","d3":"\u5907\u6ce8(a)","d4":["VV\u54c8\u54c8"]}') |
17:43:59.942 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_contact_statuses" WHERE "id"='2') |
17:43:59.943 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_suppliers" WHERE "id"=718) |
17:43:59.943 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5446) |
17:43:59.944 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_contacts" SET "birth_date"=NULL, "updated_at"='now()', "user_status"=2, "description"='VV哈哈' WHERE "id"=6126 |
17:43:59.946 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:43:59.947 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:43:59.947 | 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', 6126, 'a:1:{s:11:"description";s:8:"VV哈哈";}', '', 5446, '124.64.23.198') |
17:43:59.948 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_suppliers" WHERE "id"=718 |
17:43:59.948 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_contact_mobiles" WHERE "contact_id"=6126 |
17:43:59.949 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:43:59.949 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:43:59.949 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_contact_mobiles" WHERE ("contact_id"=6126) AND ("mobile"<>'13333333333') |
17:43:59.949 | info | yii\db\Command::execute | |
17:43:59.950 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=6126 |
17:43:59.950 | 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:43:59.951 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=6126) AND ("term_id"=11) |
17:43:59.951 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=6126 |
17:43:59.951 | 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:43:59.952 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=6126) AND ("term_id"=12) |
17:43:59.952 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:43:59.952 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:43:59.952 | 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/save-edit', '{"Contacts":{"id":"6126","name":"a","sex":"M","birth_date":"","email":"","user_status":"2","contactAttitude":"","department":"","job_position":"","telephone_area_code":"","telephone":"","telephone_extension_number":"","description":"VV\u54c8\u54c8","mobiles":["13333333333"]},"posttime":"1756460640","access_token":"c1glbS3oPWuii9fAd_nsZY9pK1ntZvhw","device_type":"6","version_code":"169","token":"02b78bbb7ead8071c00a9ebf909e3ce1"}', '{"code":200,"data":"","status":1,"msg":[{"name":"success","success":"\u8054\u7cfb\u4eba\u5df2\u88ab\u6210\u529f\u4fee\u6539","error":""}]}', FALSE, '2025-08-29 17:43:59') RETURNING "id" |