14:09:38.381 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
14:09:38.381 | trace | yii\base\Module::getModule | Loading module: debug |
14:09:38.382 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
14:09:38.382 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
14:09:38.382 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
14:09:38.382 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:09:38.383 | trace | yii\base\Module::getModule | Loading module: gii |
14:09:38.383 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
14:09:38.383 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
14:09:38.383 | trace | yii\web\Application::handleRequest | Route requested: 'v2/contact/of-client' |
14:09:38.383 | trace | yii\base\Module::getModule | Loading module: v2 |
14:09:38.383 | info | yii\web\Session::open | Session started |
14:09:38.384 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
14:09:38.386 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='oTtlK_p5ZOBpvQJd1tf5AoUbRaTdQ7qH' |
14:09:38.390 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:09:38.390 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:09:38.390 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:09:38.390 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:09:38.391 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
14:09:38.392 | trace | yii\base\Controller::runAction | Route to run: v2/contact/of-client |
14:09:38.393 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:09:38.394 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
14:09:38.394 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\ContactController::actionOfClient() |
14:09:38.394 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE ("id"='3338') AND ("deleted"=FALSE) |
14:09:38.395 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:09:38.396 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:09:38.396 | 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:09:38.399 | 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:09:38.402 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:09:38.402 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:09:38.402 | 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":"1752386944","token":"e9258b8f5690cc35beacc8cd2e9614b8","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-13 14:09:38') RETURNING "id" |