Time | Level | Category | Message |
---|---|---|---|
10:35:50.392 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
10:35:50.392 | trace | yii\base\Module::getModule | Loading module: debug |
10:35:50.393 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
10:35:50.393 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
10:35:50.393 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
10:35:50.393 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:35:50.393 | trace | yii\base\Module::getModule | Loading module: gii |
10:35:50.393 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
10:35:50.393 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
10:35:50.393 | trace | yii\web\Application::handleRequest | Route requested: 'v2/contact/get-edit' |
10:35:50.393 | trace | yii\base\Module::getModule | Loading module: v2 |
10:35:50.394 | info | yii\web\Session::open | Session started |
10:35:50.394 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
10:35:50.396 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='8KNJgvJ4yXfZTKw12_zGtGS7KKkP6G2n' |
10:35:50.399 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:35:50.399 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:35:50.399 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:35:50.400 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:35:50.400 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
10:35:50.401 | trace | yii\base\Controller::runAction | Route to run: v2/contact/get-edit |
10:35:50.402 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:35:50.402 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
10:35:50.403 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\ContactController::actionGetEdit() |
10:35:50.403 | info | yii\db\Command::query | SELECT c.*, CASE WHEN count(cm.id) != 0 THEN 1 ELSE null END as mp_open_id FROM "a57be577deb434"."tbl_contacts" "c" LEFT JOIN "a57be577deb434"."tbl_contact_mobiles" "cm" ON c.id = cm.contact_id AND cm.mp_open_id IS NOT NULL WHERE "c"."id"='6111' GROUP BY "c"."id" |
10:35:50.404 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:35:50.404 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:35:50.405 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_suppliers" WHERE "id"=716 |
10:35:50.406 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_contact_mobiles" WHERE "contact_id"=6111 |
10:35:50.406 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_contact_key_roles" WHERE "contact_id"=6111 ORDER BY "key_role" |
10:35:50.407 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex" FROM "a57be577deb434"."tbl_users" WHERE "id"=5360 |
10:35:50.407 | info | yii\db\Command::query | SELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=5360) |
10:35:50.408 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=6111 |
10:35:50.411 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=11) AND ("id" IN (5, 226, 184, 352, 349)) ORDER BY "sort" |
10:35:50.412 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=6111 |
10:35:50.412 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=12) AND ("id" IN (5, 226, 184, 352, 349)) ORDER BY "sort" |
10:35:50.412 | info | yii\db\Command::query | SELECT "object_id", count(*) as comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=14) AND ("object_id"=6111) GROUP BY "object_id" |
10:35:50.435 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking permission: viewSupplierContact |
10:35:50.435 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
10:35:50.435 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:35:50.435 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:35:50.436 | info | yii\db\Command::query | SELECT "id" AS "key", "status" AS "name" FROM "a57be577deb434"."tbl_contact_statuses" |
10:35:50.437 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking permission: deleteSupplierContact |
10:35:50.437 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
10:35:50.437 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:35:50.437 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:35:50.437 | 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', 1000, 2, 1147, 'v2/contact/get-edit', '{"access_token":"8KNJgvJ4yXfZTKw12_zGtGS7KKkP6G2n","device_type":"2","id":"6111","posttime":"1756521344","token":"99224fa3b02fd0a3d1b3bd516e2291c6","version_code":"1147"}', '{"code":200,"data":{"model":{"id":6111,"name":"\u674e\u4e9a\u4f1f","email":"","pinyin_shortcut":"lyw","sex":"M","birth_date":null,"department":"","job_position":"","mobile":"","telephone":"","client_id":null,"supplier_id":716,"created_by":5360,"created_at":"2025-07-17 14:04:06","updated_at":"2025-07-17 14:04:06","user_status":2,"description":"","contact_type":"2","contact_attitude":null,"telephone_area_code":"","telephone_extension_number":"","mp_open_id":null,"pinyin1":"li","pinyin2":"ya","pinyin3":"wei","pinyin4":null,"namecut1":"\u674e","namecut2":"\u4e9a","namecut3":"\u4f1f","namecut4":null,"is_mp_bind":false,"client":null,"supplier":{"id":716,"name":"\u5317\u4eac\u4e2d\u6052\u6c38\u665f\u4fe1\u606f\u6280\u672f\u6709\u9650\u516c\u53f8","abbr":null,"pinyin_shortcut":"bjzhycxxjsyxgs","main_products":"\u5927\u534e\u5b89\u9632\u76d1\u63a7\u91d1\u724c\u4ee3\u7406\u5546","company_nature":4,"website":"bjzhys.cn","established_at":"2018-02-11","capital":100,"corp_rep":"\u674e\u4e9a\u4f1f","reg_address":null,"telephone":"","fax":"","description":"","main_contact":null,"created_by":5360,"created_at":"2025-07-17 14:03:49","updated_at":"2025-08-04 16:28:45","working_address":4217,"capital_currency":"rmb","payment_cycle":"","account_number":""},"mobiles":[{"id":6892,"contact_id":6111,"mobile":"18600652827","mp_open_id":null,"mobile_display":"18600652827"}],"keyRoles":[],"createdBy":{"id":5360,"key":5360,"name":"\u5f20\u7ea2\u82b3","sex":"F","avatar":{"id":153,"user_id":5360,"name":"\/files\/cdn\/a57be577deb434\/avatar\/612c2410-e800-3507-aa05-3f1fbeb408a7.png"}},"contactKeyRoles":[],"contactAttitude":null,"commentCount":null,"bind_status":0,"bind_status_display":"\u672a\u8ba4\u8bc1","name_display":"\u674e\u4e9a\u4f1f","can_update":true,"can_delete":true},"options":[{"key":"Contacts[user_status]","name":"\u7528\u6237\u72b6\u6001","value":[{"key":1,"name":"\u79bb\u804c"},{"key":2,"name":"\u5728\u804c"},{"key":3,"name":"\u5931\u8054"}]},{"key":"Contacts[sex]","name":"sex","value":[{"key":"M","name":"\u7537"},{"key":"F","name":"\u5973"}]},{"key":"Contacts[contact_attitude]","name":"\u5ba2\u6237\u5173\u7cfb","value":[{"key":"","name":"(\u4e0d\u660e\u786e)"},{"key":"2","name":"\u652f\u6301"},{"key":"1","name":"\u4e2d\u7acb"},{"key":"0","name":"\u53cd\u5bf9"}]}]},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}]}', FALSE, '2025-08-30 10:35:50') RETURNING "id" |