18:02:48.104 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
18:02:48.104 | trace | yii\base\Module::getModule | Loading module: debug |
18:02:48.104 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
18:02:48.104 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
18:02:48.104 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
18:02:48.104 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
18:02:48.104 | trace | yii\base\Module::getModule | Loading module: gii |
18:02:48.105 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
18:02:48.105 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
18:02:48.105 | trace | yii\web\Application::handleRequest | Route requested: 'v2/comment/list' |
18:02:48.105 | trace | yii\base\Module::getModule | Loading module: v2 |
18:02:48.106 | info | yii\web\Session::open | Session started |
18:02:48.106 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
18:02:48.108 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='rpAaho7HBg3VJ1vNP7yVtm0Uw5j2xu-u' |
18:02:48.111 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
18:02:48.111 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
18:02:48.111 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
18:02:48.111 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
18:02:48.112 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
18:02:48.113 | trace | yii\base\Controller::runAction | Route to run: v2/comment/list |
18:02:48.113 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\CommentController::actionList() |
18:02:48.113 | info | yii\db\Command::query | SELECT COUNT(*) FROM "a57be577deb434"."tbl_unread_comments" WHERE object_type = '20' AND object_id = '7438' AND remind_user_id = 1000 |
18:02:48.131 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
18:02:48.131 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
18:02:48.131 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_unread_comments" SET "is_read"=TRUE WHERE ("object_type"='20') AND ("object_id"='7438') AND ("remind_user_id"=1000) |
18:02:48.146 | info | yii\db\Command::query | SELECT COUNT(*) FROM (SELECT * FROM "a57be577deb434"."tbl_comments" WHERE ("parent" IS NULL) AND ("object_type"='20') AND ("object_id"='7438') ORDER BY "created_at" DESC) "c" |
18:02:48.166 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_comments" WHERE ("parent" IS NULL) AND ("object_type"='20') AND ("object_id"='7438') ORDER BY "created_at" DESC LIMIT 20 |
18:02:48.184 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_comments" WHERE "parent"=170150 ORDER BY "created_at" |
18:02:48.199 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=310) AND ("object_id"=170150) |
18:02:48.201 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex" FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
18:02:48.201 | 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) |
18:02:48.202 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
18:02:48.202 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
18:02:48.202 | 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":"rpAaho7HBg3VJ1vNP7yVtm0Uw5j2xu-u","device_type":"2","object_id":"7438","object_type":"20","page":"1","posttime":"1751105024","token":"6a7e7bc1c5f309cae73f2abcf214b207","version_code":"1141"}', '{"code":200,"data":{"list":[{"id":170150,"object_id":7438,"object_type":"20","parent":null,"description":"\u66f9\u6c38\u751f \u62d2\u7edd\u4e86\u8fd9\u4e2a\u62a5\u9500","created_by":1000,"created_at":"2025-06-25 15:11:11","reply_to":null,"is_system":true,"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\/e1ebc7f0-3c0e-38f8-a847-b9169d50c361.jpg"}]},"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-06-28 18:02:48') RETURNING "id" |