17:43:19.279 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
17:43:19.279 | trace | yii\base\Module::getModule | Loading module: debug |
17:43:19.279 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
17:43:19.279 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
17:43:19.279 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
17:43:19.279 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:43:19.280 | trace | yii\base\Module::getModule | Loading module: gii |
17:43:19.280 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
17:43:19.280 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
17:43:19.280 | trace | yii\web\Application::handleRequest | Route requested: 'v2/contact/save-new-for-supplier' |
17:43:19.280 | trace | yii\base\Module::getModule | Loading module: v2 |
17:43:19.280 | info | yii\web\Session::open | Session started |
17:43:19.281 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
17:43:19.283 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='c1glbS3oPWuii9fAd_nsZY9pK1ntZvhw' |
17:43:19.286 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:43:19.286 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:43:19.286 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:43:19.286 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:43:19.286 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5446 |
17:43:19.288 | trace | yii\base\Controller::runAction | Route to run: v2/contact/save-new-for-supplier |
17:43:19.288 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:43:19.289 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
17:43:19.289 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking permission: createClientContact |
17:43:19.289 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Engineer |
17:43:19.289 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: TechDirector |
17:43:19.289 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: ProjectManager |
17:43:19.289 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: 电话销售 |
17:43:19.289 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: SalesManager |
17:43:19.289 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: SalesDirector |
17:43:19.289 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: GM |
17:43:19.289 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: StoreKeeper |
17:43:19.289 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: AccountManager |
17:43:19.289 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Accountant |
17:43:19.289 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: CommercialAttache |
17:43:19.289 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Treasurer |
17:43:19.289 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking permission: createSupplierContact |
17:43:19.289 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: TechDirector |
17:43:19.289 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: StoreKeeper |
17:43:19.289 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: SalesDirector |
17:43:19.289 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: 人力资源 |
17:43:19.289 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\ContactController::actionSaveNewForSupplier() |
17:43:19.289 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:43:19.289 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:43:19.290 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_contact_statuses" WHERE "id"='2') |
17:43:19.291 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_suppliers" WHERE "id"='718') |
17:43:19.291 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5446) |
17:43:19.292 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_contact_statuses" WHERE "id"='2') |
17:43:19.292 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_suppliers" WHERE "id"='718') |
17:43:19.292 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5446) |
17:43:19.294 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_contacts" ("contact_type", "user_status", "telephone", "telephone_extension_number", "sex", "department", "supplier_id", "description", "birth_date", "contact_attitude", "email", "telephone_area_code", "job_position", "name", "created_by", "mobile", "pinyin_shortcut", "pinyin1", "namecut1") VALUES ('2', 2, '', '', 'M', '', 718, '', NULL, NULL, '', '', '', 'B', 5446, '', 'B', 'b', 'b') RETURNING "id" |
17:43:19.296 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:43:19.296 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:43:19.296 | 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\Contacts', 6127, 'a:31:{s:2:"id";i:6127;s:4:"name";s:1:"B";s:5:"email";s:0:"";s:15:"pinyin_shortcut";s:1:"B";s:3:"sex";s:1:"M";s:10:"birth_date";s:0:"";s:10:"department";s:0:"";s:12:"job_position";s:0:"";s:6:"mobile";s:0:"";s:9:"telephone";s:0:"";s:9:"client_id";N;s:11:"supplier_id";s:3:"718";s:10:"created_by";i:5446;s:10:"created_at";N;s:10:"updated_at";N;s:11:"user_status";s:1:"2";s:11:"description";s:0:"";s:12:"contact_type";s:1:"2";s:16:"contact_attitude";s:0:"";s:19:"telephone_area_code";s:0:"";s:26:"telephone_extension_number";s:0:"";s:10:"mp_open_id";N;s:7:"pinyin1";s:1:"b";s:7:"pinyin2";N;s:7:"pinyin3";N;s:7:"pinyin4";N;s:8:"namecut1";s:1:"b";s:8:"namecut2";N;s:8:"namecut3";N;s:8:"namecut4";N;s:10:"is_mp_bind";N;}', '', 5446, '124.64.23.198') |
17:43:19.297 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_suppliers" WHERE "id"='718' |
17:43:19.298 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:43:19.298 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:43:19.298 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:43:19.298 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:43:19.298 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_contact_mobiles" ("mobile", "contact_id") VALUES ('13444444444', 6127) |
17:43:19.299 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_contact_key_roles" WHERE contact_id = 6127 |
17:43:19.299 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_contacts" WHERE "id"=6127 |
17:43:19.300 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:43:19.300 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:43:19.300 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (1, 'create', 6127, 15, 5446, '2025-08-29 17:43:19', '{"mobiles":null,"operation_status":null,"keyword":"","from":"","to":"","period":"","unread":0}', '{"mobiles":null,"operation_status":null,"keyword":"","from":"","to":"","period":"","unread":0}', '{"d1":"\u5218\u5a1f","d2":"\u521b\u5efa\u4e86","d3":"\u8054\u7cfb\u4eba","d4":[]}') RETURNING "id" |
17:43:19.301 | 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', 554487, 'a:13:{s:2:"id";i:554487;s:9:"object_id";i:6127;s:11:"object_type";i:15;s:9:"target_id";N;s:18:"target_object_type";N;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:94:"{"mobiles":null,"operation_status":null,"keyword":"","from":"","to":"","period":"","unread":0}";s:9:"new_value";s:94:"{"mobiles":null,"operation_status":null,"keyword":"","from":"","to":"","period":"","unread":0}";s:11:"description";s:81:"{"d1":"\u5218\u5a1f","d2":"\u521b\u5efa\u4e86","d3":"\u8054\u7cfb\u4eba","d4":[]}";s:10:"created_by";i:5446;s:10:"created_at";s:19:"2025-08-29 17:43:19";s:9:"is_delete";N;}', '', 5446, '124.64.23.198') |
17:43:19.302 | 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 (1, 'create', 718, 12, 6127, 15, 5446, '6127', '6127', '{"d1":"\u5218\u5a1f","d2":"\u521b\u5efa\u4e86","d3":"\u8054\u7cfb\u4eba","d4":["B"]}') RETURNING "id" |
17:43:19.304 | 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', 554488, 'a:13:{s:2:"id";i:554488;s:9:"object_id";i:718;s:11:"object_type";i:12;s:9:"target_id";i:6127;s:18:"target_object_type";i:15;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:4:"6127";s:9:"new_value";s:4:"6127";s:11:"description";s:84:"{"d1":"\u5218\u5a1f","d2":"\u521b\u5efa\u4e86","d3":"\u8054\u7cfb\u4eba","d4":["B"]}";s:10:"created_by";i:5446;s:10:"created_at";N;s:9:"is_delete";N;}', '', 5446, '124.64.23.198') |
17:43:19.305 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:43:19.305 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:43:19.305 | 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-new-for-supplier', '{"access_token":"c1glbS3oPWuii9fAd_nsZY9pK1ntZvhw","device_type":"0","Contacts":{"telephone":"","telephone_extension_number":"","sex":"M","department":"","user_status":"2","supplier_id":"718","description":"","birth_date":"","contact_attitude":"","email":"","telephone_area_code":"","job_position":"","name":"B","mobiles":["13444444444"]},"version_code":"266","token":"b6e26945a19e54eb36ea19d4adcfcc61","posttime":"1756460599"}', '{"code":200,"data":{"id":6127},"status":1,"msg":[{"name":"success","success":"\u65b0\u8054\u7cfb\u4eba\u5df2\u521b\u5efa\u6210\u529f","error":""}]}', FALSE, '2025-08-29 17:43:19') RETURNING "id" |