22:15:35.781 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
22:15:35.782 | trace | yii\base\Module::getModule | Loading module: debug |
22:15:35.782 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
22:15:35.782 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
22:15:35.782 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
22:15:35.782 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
22:15:35.783 | trace | yii\base\Module::getModule | Loading module: gii |
22:15:35.783 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
22:15:35.783 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
22:15:35.783 | trace | yii\web\Application::handleRequest | Route requested: 'v2/comment/list' |
22:15:35.783 | trace | yii\base\Module::getModule | Loading module: v2 |
22:15:35.783 | info | yii\web\Session::open | Session started |
22:15:35.784 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
22:15:35.787 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='gIBfXHaGAAjf2tBIfgqsDfRNPly9E9om' |
22:15:35.791 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
22:15:35.792 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
22:15:35.792 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
22:15:35.792 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
22:15:35.792 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
22:15:35.794 | trace | yii\base\Controller::runAction | Route to run: v2/comment/list |
22:15:35.795 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\CommentController::actionList() |
22:15:35.795 | info | yii\db\Command::query | SELECT COUNT(*) FROM "a57be577deb434"."tbl_unread_comments" WHERE object_type = '37' AND object_id = '2226' AND remind_user_id = 1000 |
22:15:35.819 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
22:15:35.819 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
22:15:35.820 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_unread_comments" SET "is_read"=TRUE WHERE ("object_type"='37') AND ("object_id"='2226') AND ("remind_user_id"=1000) |
22:15:35.841 | info | yii\db\Command::query | SELECT COUNT(*) FROM (SELECT * FROM "a57be577deb434"."tbl_comments" WHERE ("parent" IS NULL) AND ("object_type"='37') AND ("object_id"='2226') ORDER BY "created_at" DESC) "c" |
22:15:35.864 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_comments" WHERE ("parent" IS NULL) AND ("object_type"='37') AND ("object_id"='2226') ORDER BY "created_at" DESC LIMIT 20 |
22:15:35.885 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_comments" WHERE "parent" IN (191240, 191235, 191231) ORDER BY "created_at" |
22:15:35.905 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=310) AND ("object_id" IN (191240, 191235, 191231)) |
22:15:35.908 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex" FROM "a57be577deb434"."tbl_users" WHERE "id" IN (1000, 1001) |
22:15:35.908 | info | yii\db\Command::query | SELECT "user_id", "meta_value" AS "avatar" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id" IN (1001, 1000)) |
22:15:35.909 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
22:15:35.909 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
22:15:35.909 | 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/comment/list', '{"access_token":"gIBfXHaGAAjf2tBIfgqsDfRNPly9E9om","device_type":"2","object_id":"2226","object_type":"37","page":"1","posttime":"1757600128","token":"8b3a0fa469e77ad5fe1cef9b7f77739d","version_code":"1149"}', '{"code":200,"data":{"list":[{"id":191240,"object_id":2226,"object_type":"37","parent":null,"description":"\u66f9\u6c38\u751f \u6709\u4e00\u4e2a\u51fa\u5dee\u7533\u8bf7\u9700\u8981\u5ba1\u6279","created_by":1000,"created_at":"2025-09-11 15:08:37","reply_to":null,"is_system":true,"for_user":null,"description2":"\u5f85\u53d6\u6d88\u7684\u501f\u6b3e","comments":[],"attachmentRelationships":[],"createdBy":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"M","userMetas":[{"user_id":1000,"avatar":"\/files\/cdn\/a57be577deb434\/avatar\/80759bee-0611-3ad4-bb4a-30d802dd0032.png"}]},"can_delete":true},{"id":191235,"object_id":2226,"object_type":"37","parent":null,"description":"\u5218\u4eba\u8bda \u901a\u8fc7\u4e86\u8fd9\u4e2a\u5ba1\u6279","created_by":1001,"created_at":"2025-09-11 15:04:33","reply_to":null,"is_system":true,"for_user":null,"description2":"\u5f85\u53d6\u6d88\u7684\u501f\u6b3e","comments":[],"attachmentRelationships":[],"createdBy":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M","userMetas":[{"user_id":1001,"avatar":"\/files\/cdn\/a57be577deb434\/avatar\/9f73cfbd-bae6-3b50-b7ac-61b936c40727.png"}]},"can_delete":false},{"id":191231,"object_id":2226,"object_type":"37","parent":null,"description":"\u66f9\u6c38\u751f \u6709\u4e00\u4e2a\u5ba1\u6279\u9700\u8981\u5ba1\u6279","created_by":1000,"created_at":"2025-09-11 15:02:52","reply_to":null,"is_system":true,"for_user":null,"description2":"\u5f85\u53d6\u6d88\u7684\u501f\u6b3e","comments":[],"attachmentRelationships":[],"createdBy":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"M","userMetas":[{"user_id":1000,"avatar":"\/files\/cdn\/a57be577deb434\/avatar\/80759bee-0611-3ad4-bb4a-30d802dd0032.png"}]},"can_delete":true}],"unread":1,"pagenation":{"totalcount":3,"thispage":1,"pagesize":20}},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}]}', FALSE, '2025-09-11 22:15:35') RETURNING "id" |