22:43:41.031 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
22:43:41.031 | trace | yii\base\Module::getModule | Loading module: debug |
22:43:41.031 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
22:43:41.031 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
22:43:41.031 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
22:43:41.031 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
22:43:41.031 | trace | yii\base\Module::getModule | Loading module: gii |
22:43:41.031 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
22:43:41.032 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
22:43:41.032 | trace | yii\web\Application::handleRequest | Route requested: 'v2/comment/list' |
22:43:41.032 | trace | yii\base\Module::getModule | Loading module: v2 |
22:43:41.032 | info | yii\web\Session::open | Session started |
22:43:41.032 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
22:43:41.034 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='gIBfXHaGAAjf2tBIfgqsDfRNPly9E9om' |
22:43:41.037 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
22:43:41.037 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
22:43:41.037 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
22:43:41.038 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
22:43:41.038 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
22:43:41.039 | trace | yii\base\Controller::runAction | Route to run: v2/comment/list |
22:43:41.039 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\CommentController::actionList() |
22:43:41.039 | info | yii\db\Command::query | SELECT COUNT(*) FROM "a57be577deb434"."tbl_unread_comments" WHERE object_type = '9' AND object_id = '17942' AND remind_user_id = 1000 |
22:43:41.058 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
22:43:41.058 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
22:43:41.058 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_unread_comments" SET "is_read"=TRUE WHERE ("object_type"='9') AND ("object_id"='17942') AND ("remind_user_id"=1000) |
22:43:41.072 | info | yii\db\Command::query | SELECT COUNT(*) FROM (SELECT * FROM "a57be577deb434"."tbl_comments" WHERE ("parent" IS NULL) AND ("object_type"='9') AND ("object_id"='17942') ORDER BY "created_at" DESC) "c" |
22:43:41.093 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_comments" WHERE ("parent" IS NULL) AND ("object_type"='9') AND ("object_id"='17942') ORDER BY "created_at" DESC LIMIT 20 |
22:43:41.113 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_comments" WHERE "parent" IN (191300, 191296) ORDER BY "created_at" |
22:43:41.130 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=310) AND ("object_id" IN (191300, 191296)) |
22:43:41.133 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "extension", "path", "orig_name" FROM "a57be577deb434"."tbl_attachments" WHERE "id"=28147 |
22:43:41.134 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex" FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
22:43:41.134 | 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) |
22:43:41.135 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
22:43:41.135 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
22:43:41.135 | 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/comment/list', '{"access_token":"gIBfXHaGAAjf2tBIfgqsDfRNPly9E9om","device_type":"0","object_id":"17942","object_type":"9","version_code":"266","page":"1","token":"5425c2bdc4e03fc4af22e130f511d08f","posttime":"1757688221"}', '{"code":200,"data":{"list":[{"id":191300,"object_id":17942,"object_type":"9","parent":null,"description":"\u5de5\u5e8f\u6c47\u62a5\u5355<mention data-id=\"1000\">@\u66f9\u6c38\u751f <\/mention><mention data-id=\"5250\">@\u8463\u8363 <\/mention>","created_by":1000,"created_at":"2025-09-12 22:43:40","reply_to":null,"is_system":false,"for_user":null,"description2":"","comments":[],"attachmentRelationships":[{"id":49540,"object_type":310,"object_id":191300,"attachment_id":28147,"attachment":{"id":28147,"key":28147,"name":"884ba1af-06b9-37fb-9fe4-2a9bb54c43d2","extension":"jpg","path":"\/v2\/attachment\/view\/gIBfXHaGAAjf2tBIfgqsDfRNPly9E9om\/884ba1af-06b9-37fb-9fe4-2a9bb54c43d2\/Screenshot_20250909_151910_com.jinchangxiao.bms.jpg","orig_name":"Screenshot_20250909_151910_com.jinchangxiao.bms.jpg"}}],"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":191296,"object_id":17942,"object_type":"9","parent":null,"description":"\u66f9\u6c38\u751f\u65b0\u5efa\u4e86\u4e00\u6761\u5f85\u529e\u4e8b\u9879","created_by":1000,"created_at":"2025-09-12 17:09:09","reply_to":null,"is_system":true,"for_user":null,"description2":"\u597d\u5427\u5b9d\u8d1d","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":0,"pagenation":{"totalcount":2,"thispage":1,"pagesize":20}},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}]}', FALSE, '2025-09-12 22:43:41') RETURNING "id" |