21:38:23.208 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
21:38:23.208 | trace | yii\base\Module::getModule | Loading module: debug |
21:38:23.208 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
21:38:23.208 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
21:38:23.208 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
21:38:23.208 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:38:23.208 | trace | yii\base\Module::getModule | Loading module: gii |
21:38:23.208 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
21:38:23.209 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
21:38:23.209 | trace | yii\web\Application::handleRequest | Route requested: 'v2/punch/get-nav-count' |
21:38:23.209 | trace | yii\base\Module::getModule | Loading module: v2 |
21:38:23.209 | info | yii\web\Session::open | Session started |
21:38:23.210 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
21:38:23.211 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='gIBfXHaGAAjf2tBIfgqsDfRNPly9E9om' |
21:38:23.214 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:38:23.214 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:38:23.215 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:38:23.215 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:38:23.215 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
21:38:23.216 | trace | yii\base\Controller::runAction | Route to run: v2/punch/get-nav-count |
21:38:23.217 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:38:23.218 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
21:38:23.218 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\PunchController::actionGetNavCount() |
21:38:23.218 | info | yii\db\Command::query | SELECT COUNT(*) FROM "a57be577deb434"."tbl_punch_repairs" WHERE ("next_verify_user"=1000) OR ("next_cancel_verify_user"=1000) |
21:38:23.218 | info | yii\db\Command::query | SELECT COUNT(*) FROM "a57be577deb434"."tbl_punch_aways" WHERE ("next_verify_user"=1000) OR ("next_cancel_verify_user"=1000) |
21:38:23.219 | info | yii\db\Command::query | SELECT COUNT(*) FROM "a57be577deb434"."tbl_punch_overtimes" WHERE ("next_verify_user"=1000) OR ("next_cancel_verify_user"=1000) |
21:38:23.219 | info | yii\db\Command::query | SELECT COUNT(*) FROM "a57be577deb434"."tbl_punch_leaves" WHERE ("next_verify_user"=1000) OR ("next_cancel_verify_user"=1000) |
21:38:23.220 | info | yii\db\Command::query | SELECT COUNT(*) FROM "a57be577deb434"."tbl_punch_travels" WHERE ("next_verify_user"=1000) OR ("next_cancel_verify_user"=1000) |
21:38:23.220 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:38:23.221 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:38:23.222 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:38:23.222 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:38:23.222 | 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, 1149, 'v2/punch/get-nav-count', '{"access_token":"gIBfXHaGAAjf2tBIfgqsDfRNPly9E9om","device_type":"2","posttime":"1757597952","token":"525f55b49d3a6e9374c3f97fc6dde48a","version_code":"1149"}', '{"code":200,"data":{"countArr":[{"key":"repair","name":"\u8865\u5361","count":1},{"key":"away","name":"\u5916\u51fa","count":1},{"key":"overtime","name":"\u52a0\u73ed","count":1},{"key":"leave","name":"\u8bf7\u5047","count":1},{"key":"travel","name":"\u51fa\u5dee","count":1}],"total":5,"can_view_approve":true},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}]}', FALSE, '2025-09-11 21:38:23') RETURNING "id" |