11:13:21.139 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
11:13:21.139 | trace | yii\base\Module::getModule | Loading module: debug |
11:13:21.139 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
11:13:21.139 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
11:13:21.140 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
11:13:21.140 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:13:21.140 | trace | yii\base\Module::getModule | Loading module: gii |
11:13:21.140 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
11:13:21.140 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
11:13:21.140 | trace | yii\web\Application::handleRequest | Route requested: 'v2/pre-sales/list' |
11:13:21.140 | trace | yii\base\Module::getModule | Loading module: v2 |
11:13:21.141 | info | yii\web\Session::open | Session started |
11:13:21.141 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
11:13:21.144 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='Ll7CI5iYtgVyQJHl2tkvnIHNJc9_fUfd' |
11:13:21.147 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:13:21.148 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:13:21.152 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:13:21.155 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:13:21.158 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
11:13:21.164 | trace | yii\base\Controller::runAction | Route to run: v2/pre-sales/list |
11:13:21.165 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:13:21.166 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
11:13:21.166 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\PreSalesController::actionList() |
11:13:21.166 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"='8269' |
11:13:21.167 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:13:21.167 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:13:21.167 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:13:21.167 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:13:21.168 | info | yii\db\Command::query | SELECT COUNT(*) FROM (SELECT
p.*,
p.end_at - p.start_at AS hours_spent
FROM "a57be577deb434"."tbl_pre_sales" "p" LEFT JOIN "a57be577deb434"."tbl_cases" "c" ON c.id = p.case_id WHERE "case_id"=8269 GROUP BY "p"."id" ORDER BY "is_draft" DESC, "p"."has_following_work" DESC, "p"."end_at" DESC) "c" |
11:13:21.170 | info | yii\db\Command::query | SELECT
p.*,
p.end_at - p.start_at AS hours_spent
FROM "a57be577deb434"."tbl_pre_sales" "p" LEFT JOIN "a57be577deb434"."tbl_cases" "c" ON c.id = p.case_id WHERE "case_id"=8269 GROUP BY "p"."id" ORDER BY "is_draft" DESC, "p"."has_following_work" DESC, "p"."end_at" DESC LIMIT 10 |
11:13:21.171 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:13:21.172 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:13:21.174 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
11:13:21.174 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
11:13:21.174 | 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, 0, 262, 'v2/pre-sales/list', '{"access_token":"Ll7CI5iYtgVyQJHl2tkvnIHNJc9_fUfd","device_type":"0","version_code":"262","id":"8269","page":"1","token":"8db8a33083564d88310a44eb048f1217","posttime":"1751598802"}', '{"code":200,"data":{"list":[],"pagenation":{"totalcount":0,"thispage":1,"pagesize":10},"can_create":false},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}]}', FALSE, '2025-07-04 11:13:21') RETURNING "id" |