14:05:45.698 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
14:05:45.698 | trace | yii\base\Module::getModule | Loading module: debug |
14:05:45.698 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
14:05:45.698 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
14:05:45.698 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
14:05:45.698 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:05:45.699 | trace | yii\base\Module::getModule | Loading module: gii |
14:05:45.699 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
14:05:45.699 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
14:05:45.699 | trace | yii\web\Application::handleRequest | Route requested: 'v2/contact/of-client' |
14:05:45.699 | trace | yii\base\Module::getModule | Loading module: v2 |
14:05:45.699 | info | yii\web\Session::open | Session started |
14:05:45.700 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
14:05:45.702 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='oTtlK_p5ZOBpvQJd1tf5AoUbRaTdQ7qH' |
14:05:45.705 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:05:45.705 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:05:45.705 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:05:45.705 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:05:45.705 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
14:05:45.706 | trace | yii\base\Controller::runAction | Route to run: v2/contact/of-client |
14:05:45.707 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:05:45.708 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
14:05:45.708 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\ContactController::actionOfClient() |
14:05:45.708 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE ("id"='3338') AND ("deleted"=FALSE) |
14:05:45.709 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:05:45.709 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:05:45.709 | 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"='3338' 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" |
14:05:45.712 | 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"='3338' 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 |
14:05:45.713 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:05:45.713 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:05:45.714 | 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, 1141, 'v2/contact/of-client', '{"access_token":"oTtlK_p5ZOBpvQJd1tf5AoUbRaTdQ7qH","device_type":"2","id":"3338","page":"1","posttime":"1752213888","token":"6b4748a822317dd2bb72f71453eba50b","version_code":"1141"}', '{"code":200,"data":{"list":[],"pagenation":{"totalcount":0,"thispage":1,"pagesize":10}},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}]}', FALSE, '2025-07-11 14:05:45') RETURNING "id" |