14:54:34.354 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
14:54:34.354 | trace | yii\base\Module::getModule | Loading module: debug |
14:54:34.354 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
14:54:34.354 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
14:54:34.354 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
14:54:34.355 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:54:34.355 | trace | yii\base\Module::getModule | Loading module: gii |
14:54:34.355 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
14:54:34.355 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
14:54:34.355 | trace | yii\web\Application::handleRequest | Route requested: 'v2/comment/list' |
14:54:34.355 | trace | yii\base\Module::getModule | Loading module: v2 |
14:54:34.356 | info | yii\web\Session::open | Session started |
14:54:34.356 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
14:54:34.359 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='oTtlK_p5ZOBpvQJd1tf5AoUbRaTdQ7qH' |
14:54:34.363 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:54:34.363 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:54:34.364 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:54:34.364 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:54:34.364 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
14:54:34.366 | trace | yii\base\Controller::runAction | Route to run: v2/comment/list |
14:54:34.366 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\CommentController::actionList() |
14:54:34.366 | info | yii\db\Command::query | SELECT COUNT(*) FROM "a57be577deb434"."tbl_unread_comments" WHERE object_type = '101' AND object_id = '1565' AND remind_user_id = 1000 |
14:54:34.392 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:54:34.392 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:54:34.392 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_unread_comments" SET "is_read"=TRUE WHERE ("object_type"='101') AND ("object_id"='1565') AND ("remind_user_id"=1000) |
14:54:34.414 | info | yii\db\Command::query | SELECT COUNT(*) FROM (SELECT * FROM "a57be577deb434"."tbl_comments" WHERE ("parent" IS NULL) AND ("object_type"='101') AND ("object_id"='1565') ORDER BY "created_at" DESC) "c" |
14:54:34.439 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_comments" WHERE ("parent" IS NULL) AND ("object_type"='101') AND ("object_id"='1565') ORDER BY "created_at" DESC LIMIT 20 |
14:54:34.461 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_comments" WHERE "parent"=170431 ORDER BY "created_at" |
14:54:34.480 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=310) AND ("object_id"=170431) |
14:54:34.481 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex" FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
14:54:34.482 | info | yii\db\Command::query | SELECT "user_id", "meta_value" AS "avatar" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=1000) |
14:54:34.482 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:54:34.483 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:54:34.483 | 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, 1141, 'v2/comment/list', '{"access_token":"oTtlK_p5ZOBpvQJd1tf5AoUbRaTdQ7qH","device_type":"2","object_id":"1565","object_type":"101","page":"1","posttime":"1752216832","token":"24e935c9761f430f9f459b7769637095","version_code":"1141"}', '{"code":200,"data":{"list":[{"id":170431,"object_id":1565,"object_type":"101","parent":null,"description":"\u597d\u7684\u5b9d\u8d1d","created_by":1000,"created_at":"2025-07-11 14:54:34","reply_to":null,"is_system":false,"for_user":null,"description2":"","comments":[],"attachmentRelationships":[],"createdBy":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"M","userMetas":[{"user_id":1000,"avatar":"\/files\/cdn\/a57be577deb434\/avatar\/aebf8dd5-5fe2-3ead-a020-c095fe4101e4.png"}]},"can_delete":true}],"unread":0,"pagenation":{"totalcount":1,"thispage":1,"pagesize":20}},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}]}', FALSE, '2025-07-11 14:54:34') RETURNING "id" |