17:14:47.675 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
17:14:47.675 | trace | yii\base\Module::getModule | Loading module: debug |
17:14:47.676 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
17:14:47.676 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
17:14:47.677 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
17:14:47.678 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:14:47.679 | trace | yii\base\Module::getModule | Loading module: gii |
17:14:47.679 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
17:14:47.679 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
17:14:47.679 | trace | yii\web\Application::handleRequest | Route requested: 'v2/user/get-announcement-unread' |
17:14:47.679 | trace | yii\base\Module::getModule | Loading module: v2 |
17:14:47.680 | info | yii\web\Session::open | Session started |
17:14:47.680 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
17:14:47.683 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='LpLquexa4MxJRClJNdb9gPVa_MzadLnu' |
17:14:47.687 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:14:47.688 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:14:47.688 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:14:47.688 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:14:47.688 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
17:14:47.691 | trace | yii\base\Controller::runAction | Route to run: v2/user/get-announcement-unread |
17:14:47.691 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\UserController::actionGetAnnouncementUnread() |
17:14:47.691 | info | yii\db\Command::query | SELECT * FROM "global"."tbl_logins" WHERE "id"=1001 |
17:14:47.692 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:14:47.692 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:14:47.692 | info | yii\db\Command::query | SELECT COUNT(*) FROM (SELECT "a".* FROM "global"."tbl_announcements" "a" LEFT JOIN "global"."tbl_read_announcement" "r" ON a.id = r.announcement_id AND r.user_id = 1001 LEFT JOIN "global"."tbl_logins" "l" ON l.id = r.user_id WHERE (l.id IS NULL) AND ("a"."created_at" > '2017-02-06 13:05:08') ORDER BY "a"."created_at" DESC) "c" |
17:14:47.694 | info | yii\db\Command::query | SELECT COUNT(*) FROM "a57be577deb434"."tbl_unread_comments" WHERE ("remind_user_id"=1001) AND ("is_read"=FALSE) |
17:14:47.742 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
17:14:47.744 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
17:14:47.747 | 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', 1001, 0, 262, 'v2/user/get-announcement-unread', '{"access_token":"LpLquexa4MxJRClJNdb9gPVa_MzadLnu","device_type":"0","version_code":"262","token":"850a104f8857f448cb4017eb16b2811c","posttime":"1751534087"}', '{"code":200,"data":{"count":12},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}]}', FALSE, '2025-07-03 17:14:47') RETURNING "id" |