10:37:54.338 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
10:37:54.338 | trace | yii\base\Module::getModule | Loading module: debug |
10:37:54.338 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
10:37:54.338 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
10:37:54.338 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
10:37:54.338 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:37:54.338 | trace | yii\base\Module::getModule | Loading module: gii |
10:37:54.339 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
10:37:54.339 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
10:37:54.339 | trace | yii\web\Application::handleRequest | Route requested: 'v2/comment/list' |
10:37:54.339 | trace | yii\base\Module::getModule | Loading module: v2 |
10:37:54.340 | info | yii\web\Session::open | Session started |
10:37:54.341 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
10:37:54.343 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='rpAaho7HBg3VJ1vNP7yVtm0Uw5j2xu-u' |
10:37:54.346 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:37:54.347 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:37:54.347 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:37:54.347 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:37:54.348 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
10:37:54.349 | trace | yii\base\Controller::runAction | Route to run: v2/comment/list |
10:37:54.349 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\CommentController::actionList() |
10:37:54.349 | info | yii\db\Command::query | SELECT COUNT(*) FROM "a57be577deb434"."tbl_unread_comments" WHERE object_type = '1' AND object_id = '3811' AND remind_user_id = 1000 |
10:37:54.366 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:37:54.366 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:37:54.366 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_unread_comments" SET "is_read"=TRUE WHERE ("object_type"='1') AND ("object_id"='3811') AND ("remind_user_id"=1000) |
10:37:54.379 | info | yii\db\Command::query | SELECT COUNT(*) FROM (SELECT * FROM "a57be577deb434"."tbl_comments" WHERE ("parent" IS NULL) AND ("object_type"='1') AND ("object_id"='3811') ORDER BY "created_at" DESC) "c" |
10:37:54.406 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_comments" WHERE ("parent" IS NULL) AND ("object_type"='1') AND ("object_id"='3811') ORDER BY "created_at" DESC LIMIT 20 |
10:37:54.445 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_comments" WHERE "parent" IN (170121, 170120) ORDER BY "created_at" |
10:37:54.463 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=310) AND ("object_id" IN (170121, 170120)) |
10:37:54.465 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex" FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
10:37:54.466 | 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) |
10:37:54.466 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:37:54.466 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:37:54.467 | 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/comment/list', '{"access_token":"rpAaho7HBg3VJ1vNP7yVtm0Uw5j2xu-u","device_type":"0","object_id":"3811","object_type":"1","version_code":"262","page":"1","token":"4b1bff36d0ba11854ace792e99225e29","posttime":"1751423874"}', '{"code":200,"data":{"list":[{"id":170121,"object_id":3811,"object_type":"1","parent":null,"description":"\u66f9\u6c38\u751f\u66f4\u65b0\u4e86\u4e00\u6761\u5546\u673a\u72b6\u6001\u9690\u6027\u9700\u6c42\u53d8\u4e3a\u660e\u786e\u9700\u6c42","created_by":1000,"created_at":"2025-06-21 21:24:12","reply_to":null,"is_system":true,"for_user":null,"description2":"\u5c31\u653e\u5047\u653e\u5047","comments":[],"attachmentRelationships":[],"createdBy":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"F","userMetas":[{"user_id":1000,"avatar":"\/files\/cdn\/a57be577deb434\/avatar\/e1ebc7f0-3c0e-38f8-a847-b9169d50c361.jpg"}]},"can_delete":true},{"id":170120,"object_id":3811,"object_type":"1","parent":null,"description":"\u66f9\u6c38\u751f\u65b0\u5efa\u4e86\u4e00\u6761\u72b6\u6001\u4e3a\u9690\u6027\u9700\u6c42\u7684\u5546\u673a","created_by":1000,"created_at":"2025-06-21 21:22:14","reply_to":null,"is_system":true,"for_user":null,"description2":"\u5c31\u653e\u5047\u653e\u5047","comments":[],"attachmentRelationships":[],"createdBy":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"F","userMetas":[{"user_id":1000,"avatar":"\/files\/cdn\/a57be577deb434\/avatar\/e1ebc7f0-3c0e-38f8-a847-b9169d50c361.jpg"}]},"can_delete":true}],"unread":0,"pagenation":{"totalcount":2,"thispage":1,"pagesize":20}},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}]}', FALSE, '2025-07-02 10:37:54') RETURNING "id" |