10:56:22.795 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
10:56:22.795 | trace | yii\base\Module::getModule | Loading module: debug |
10:56:22.796 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
10:56:22.796 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
10:56:22.796 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
10:56:22.796 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:56:22.797 | trace | yii\base\Module::getModule | Loading module: gii |
10:56:22.797 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
10:56:22.797 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
10:56:22.797 | trace | yii\web\Application::handleRequest | Route requested: 'v2/contact/of-client' |
10:56:22.797 | trace | yii\base\Module::getModule | Loading module: v2 |
10:56:22.797 | info | yii\web\Session::open | Session started |
10:56:22.798 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
10:56:22.803 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='Ll7CI5iYtgVyQJHl2tkvnIHNJc9_fUfd' |
10:56:22.807 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:56:22.809 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:56:22.809 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:56:22.810 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:56:22.810 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
10:56:22.812 | trace | yii\base\Controller::runAction | Route to run: v2/contact/of-client |
10:56:22.812 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:56:22.813 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
10:56:22.813 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\ContactController::actionOfClient() |
10:56:22.813 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE ("id"='3337') AND ("deleted"=FALSE) |
10:56:22.815 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:56:22.815 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:56:22.815 | 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"='3337' 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:56:22.818 | 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"='3337' 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:56:22.821 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:56:22.821 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:56:22.821 | 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":"Ll7CI5iYtgVyQJHl2tkvnIHNJc9_fUfd","device_type":"2","id":"3337","page":"1","posttime":"1751597824","token":"dcf85fcaa61b501a5cf0216a9c70f108","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-04 10:56:22') RETURNING "id" |