16:09:35.826 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
16:09:35.826 | trace | yii\base\Module::getModule | Loading module: debug |
16:09:35.826 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
16:09:35.827 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
16:09:35.827 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
16:09:35.827 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:09:35.828 | trace | yii\base\Module::getModule | Loading module: gii |
16:09:35.828 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
16:09:35.828 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
16:09:35.828 | trace | yii\web\Application::handleRequest | Route requested: 'vue/contact/of-client' |
16:09:35.828 | trace | yii\base\Module::getModule | Loading module: vue |
16:09:35.971 | info | yii\web\Session::open | Session started |
16:09:35.973 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
16:09:35.973 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
16:09:35.982 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:09:35.982 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
16:09:35.983 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:09:35.983 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
16:09:35.984 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
16:09:35.989 | trace | yii\base\Controller::runAction | Route to run: vue/contact/of-client |
16:09:35.989 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:09:35.994 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
16:09:35.994 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\ContactController::actionOfClient() |
16:09:35.994 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE ("id"='914') AND ("deleted"=FALSE) |
16:09:35.996 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:09:35.997 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
16:09:35.997 | info | yii\db\Command::query | SELECT COUNT(*) FROM (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_clients" "client" ON client.id = c.client_id LEFT JOIN "a57be577deb434"."tbl_contact_mobiles" "cm" ON c.id = cm.contact_id AND cm.mp_open_id IS NOT NULL WHERE "client"."id"='914' 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" |
16:09:36.000 | 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_clients" "client" ON client.id = c.client_id LEFT JOIN "a57be577deb434"."tbl_contact_mobiles" "cm" ON c.id = cm.contact_id AND cm.mp_open_id IS NOT NULL WHERE "client"."id"='914' 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 20 |
16:09:36.001 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:09:36.002 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
16:09:36.002 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "status" AS "name" FROM "a57be577deb434"."tbl_contact_statuses" WHERE "id"=2 |
16:09:36.003 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex", "user_status" FROM "a57be577deb434"."tbl_users" WHERE "id"=5045 |
16:09:36.003 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_contact_mobiles" WHERE "contact_id"=1800 |
16:09:36.003 | info | yii\db\Command::query | SELECT "object_id", count(*) as comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=14) AND ("object_id"=1800) GROUP BY "object_id" |
16:09:36.026 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=1800 |
16:09:36.027 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=11) AND ("id" IN (1, 165, 179, 142, 166, 185, 191, 2100000000, 369, 349)) ORDER BY "sort" |
16:09:36.027 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=1800 |
16:09:36.028 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=12) AND ("id" IN (1, 165, 179, 142, 166, 185, 191, 2100000000, 369, 349)) ORDER BY "sort" |
16:09:36.028 | info | yii\db\Command::query | SELECT "object_id", count(*) AS unread FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_type"=14) AND (remind_user_id = 1001 AND is_read = false) AND ("object_id"=1800) GROUP BY "object_id" |
16:09:36.046 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking permission: updateClientContact |
16:09:36.046 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: StoreKeeper |
16:09:36.046 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Engineer |
16:09:36.046 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
16:09:36.046 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:09:36.047 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:09:36.049 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:09:36.049 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
16:09:36.049 | info | yii\db\Command::query | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 1001, 5, 'vue/contact/of-client', '{"id":"914","page":"1","web_access_token":"sXjqURNBCao5nldOR3zGEIU34GY49pIi"}', '{"code":2000,"result":{"list":[{"id":1800,"name":"\u8303\u541b","email":"","pinyin_shortcut":"fj","sex":"M","birth_date":"","department":"","job_position":"","mobile":"","telephone":"","client_id":914,"supplier_id":"","created_by":5045,"created_at":"2018-03-02 16:12:44","updated_at":"2018-03-02 16:12:44","user_status":2,"description":"","contact_type":"1","contact_attitude":"","telephone_area_code":"","telephone_extension_number":"","mp_open_id":"","pinyin1":"fan","pinyin2":"jun","pinyin3":"","pinyin4":"","namecut1":"\u8303","namecut2":"\u541b","namecut3":"","namecut4":"","is_mp_bind":"","contactStatus":{"id":2,"key":2,"name":"\u5728\u804c"},"createdBy":{"id":5045,"key":5045,"name":"\u5218\u5c0a\u559c(\u5df2\u79bb\u804c)","sex":"M","user_status":"-1"},"mobiles":[{"id":1303,"contact_id":1800,"mobile":"13332023038","mp_open_id":"","mobile_display":"13332023038"}],"commentCount":{},"contactKeyRoles":[],"contactAttitude":{},"unreadComments":"","can_update":true,"can_delete":true,"name_display":"\u8303\u541b","email_display":"","telephone_display":"","unread":0}],"can_create":true,"pagenation":{"totalcount":1,"thispage":1,"pagesize":20}},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"mod":0}', FALSE, '2025-09-16 16:09:36') RETURNING "id" |
16:09:36.051 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:09:36.051 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |