16:20:09.621 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
16:20:09.621 | trace | yii\base\Module::getModule | Loading module: debug |
16:20:09.621 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
16:20:09.622 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
16:20:09.622 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
16:20:09.622 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:20:09.622 | trace | yii\base\Module::getModule | Loading module: gii |
16:20:09.622 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
16:20:09.622 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
16:20:09.622 | trace | yii\web\Application::handleRequest | Route requested: 'v2/task/get-new' |
16:20:09.622 | trace | yii\base\Module::getModule | Loading module: v2 |
16:20:09.623 | info | yii\web\Session::open | Session started |
16:20:09.623 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
16:20:09.626 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='gIBfXHaGAAjf2tBIfgqsDfRNPly9E9om' |
16:20:09.630 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:20:09.631 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
16:20:09.631 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:20:09.632 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
16:20:09.632 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
16:20:09.639 | trace | yii\base\Controller::runAction | Route to run: v2/task/get-new |
16:20:09.639 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\TaskController::actionGetNew() |
16:20:09.639 | info | yii\db\Command::query | SELECT "s"."id" AS "key", "s"."title" AS "name" FROM "a57be577deb434"."tbl_task_groups" "s" LEFT JOIN "a57be577deb434"."tbl_task_group_user_relationships" "turs" ON s.id = turs.task_group_id LEFT JOIN "a57be577deb434"."tbl_task_group_head_of_relationships" "thrs" ON s.id = thrs.task_group_id WHERE (("thrs"."user_id"=1000) OR ("turs"."user_id"=1000)) AND ("s"."status"=0) GROUP BY "s"."id" |
16:20:09.641 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:20:09.641 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
16:20:09.642 | info | yii\db\Command::query | SELECT SUM(weight) FROM "a57be577deb434"."tbl_tasks" WHERE "task_group_id"='195' |
16:20:09.643 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
16:20:09.643 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
16:20:09.643 | 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, 266, 'v2/task/get-new', '{"access_token":"gIBfXHaGAAjf2tBIfgqsDfRNPly9E9om","device_type":"0","version_code":"266","token":"9907a66207788d142ea7e132208e9553","task_group_id":"195","posttime":"1757492409"}', '{"code":200,"data":{"model":{"max_weight":100},"options":[{"key":"Tasks[task_group_id]","name":"\u9879\u76ee\u5217\u8868","value":[{"key":90,"name":"2019\u5e7410\u6708\u89c6\u89c9IT\u5f00\u53d1\u4efb\u52a1"},{"key":106,"name":"2020\u5e742\u6708\u5f00\u53d1\u90e8\u4efb\u52a1"},{"key":195,"name":"\u4f60\u653e\u5047\u70e6\u607c"}]},{"key":"Tasks[is_important]","name":"\u91cd\u8981\u6027","value":[{"key":"0","name":"\u666e\u901a"},{"key":"1","name":"\u91cd\u8981"}]}]},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}]}', FALSE, '2025-09-10 16:20:09') RETURNING "id" |