Time | Level | Category | Message |
---|---|---|---|
10:37:42.091 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
10:37:42.091 | trace | yii\base\Module::getModule | Loading module: debug |
10:37:42.091 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
10:37:42.091 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
10:37:42.092 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
10:37:42.092 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:37:42.092 | trace | yii\base\Module::getModule | Loading module: gii |
10:37:42.092 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
10:37:42.092 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
10:37:42.092 | trace | yii\web\Application::handleRequest | Route requested: 'v2/contact/of-supplier' |
10:37:42.092 | trace | yii\base\Module::getModule | Loading module: v2 |
10:37:42.092 | info | yii\web\Session::open | Session started |
10:37:42.093 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
10:37:42.095 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='8KNJgvJ4yXfZTKw12_zGtGS7KKkP6G2n' |
10:37:42.097 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:37:42.098 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:37:42.098 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:37:42.098 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:37:42.098 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
10:37:42.100 | trace | yii\base\Controller::runAction | Route to run: v2/contact/of-supplier |
10:37:42.100 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:37:42.101 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
10:37:42.101 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\ContactController::actionOfSupplier() |
10:37:42.101 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_suppliers" WHERE "id"='716' |
10:37:42.101 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:37:42.102 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:37:42.102 | info | yii\db\Command::query | SELECT COUNT(*) FROM (SELECT c.* FROM "a57be577deb434"."tbl_contacts" "c" LEFT JOIN "a57be577deb434"."tbl_suppliers" "supplier" ON supplier.id = c.supplier_id WHERE "supplier"."id"='716' GROUP BY "c"."id" ORDER BY (case c.user_status when 3 then 1 when 1 then 0 else c.user_status end) DESC, c.updated_at DESC) "c" |
10:37:42.104 | info | yii\db\Command::query | SELECT c.* FROM "a57be577deb434"."tbl_contacts" "c" LEFT JOIN "a57be577deb434"."tbl_suppliers" "supplier" ON supplier.id = c.supplier_id WHERE "supplier"."id"='716' GROUP BY "c"."id" ORDER BY (case c.user_status when 3 then 1 when 1 then 0 else c.user_status end) DESC, c.updated_at DESC LIMIT 10 |
10:37:42.105 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:37:42.105 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:37:42.105 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_contact_statuses" WHERE "id"=2 |
10:37:42.106 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5360 |
10:37:42.106 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_contact_key_roles" WHERE "contact_id"=6111 ORDER BY "key_role" |
10:37:42.107 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_contact_mobiles" WHERE "contact_id"=6111 |
10:37:42.107 | 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:37:42.127 | info | yii\db\Command::query | SELECT "object_id", count(*) AS unread FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_type"=14) AND (remind_user_id = 1000 AND is_read = false) AND ("object_id"=6111) GROUP BY "object_id" |
10:37:42.145 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:37:42.146 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:37:42.146 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking permission: deleteSupplierContact |
10:37:42.146 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
10:37:42.147 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:37:42.147 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:37:42.147 | 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/of-supplier', '{"access_token":"8KNJgvJ4yXfZTKw12_zGtGS7KKkP6G2n","device_type":"2","id":"716","posttime":"1756521472","token":"f52c79c11f536f6c6b5acb74fb5a2469","version_code":"1147"}', '{"code":200,"data":{"list":[{"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,"contactStatus":{"id":2,"status":"\u5728\u804c","description":"\u5728\u804c","created_by":1000,"created_at":"2016-10-31 21:28:36","updated_at":"2016-10-31 21:28:40"},"createdBy":{"id":5360,"email":"zhanghongfang@toast.com.cn","name":"\u5f20\u7ea2\u82b3","user_status":"1","pinyin_shortcut":"zhf","sex":"F","birth_date":"1997-04-07","entry_date":"2023-04-24","department_id":3,"department_position_id":60,"mobile":"18660100116","telephone":"88864628","created_at":"2023-04-24 09:37:05","updated_at":"2023-04-25 06:04:57","id_number":"371421199704072969","native_place":"\u5c71\u4e1c\u7701\u9675\u53bf","graduate_school":"\u5c71\u4e1c\u5e08\u8303\u5927\u5b66","specialty":"\u8ba1\u7b97\u673a\u7f51\u8def\u6280\u672f","education":"\u672c\u79d1","telephone_area_code":"010","telephone_extension_number":"819","leave_date":null,"pinyin1":"zhang","pinyin2":"hong","pinyin3":"fang","pinyin4":null,"namecut1":"\u5f20","namecut2":"\u7ea2","namecut3":"\u82b3","namecut4":null,"budget_count":"0","profit_count":"0","bargain_count":"0","opportunity_budget_count":"0","opportunity_count":"0","work_log_score":"0","e_implement_count":"0","e_budget_count":"0","e_profit_count":"0","e_client_count":"0","e_project_count":"0","e_point_count":"0","visit_resource_sync":false,"client_lock":false,"view_public":true,"client_remind_alarm_before":null,"work_on_remind":true,"work_off_remind":true,"check_client_same":true,"calendar_view_type":7,"search_all_client":true},"keyRoles":[],"mobiles":[{"id":6892,"contact_id":6111,"mobile":"18600652827","mp_open_id":null}],"commentCount":null,"unreadComments":null,"can_update":true,"can_delete":true,"unread":0}],"pagenation":{"totalcount":1,"thispage":1,"pagesize":10}},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}]}', FALSE, '2025-08-30 10:37:42') RETURNING "id" |