Total processing time: 112 ms; Peak memory: 2.146 MB. Show Profiling Timeline
Time | Duration | Category | Info |
---|---|---|---|
09:23:35.326 | 17.1 ms | yii\db\Command::query | SELECT COUNT(*) FROM "a57be577deb434"."tbl_comments" WHERE object_type = '13' AND object_id = '3850' |
09:23:35.343 | 17.0 ms | yii\db\Command::query | SELECT COUNT(*) FROM "a57be577deb434"."tbl_unread_comments" WHERE object_type = '13' AND object_id = '3850' AND remind_user_id = 1001 |
09:23:35.374 | 16.9 ms | yii\db\Command::query | SELECT COUNT(*) FROM (SELECT * FROM "a57be577deb434"."tbl_comments" WHERE ("parent" IS NULL) AND ("object_type"='13') AND ("object_id"='3850') ORDER BY "created_at" DESC) "c" |
09:23:35.392 | 16.5 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_comments" WHERE ("parent" IS NULL) AND ("object_type"='13') AND ("object_id"='3850') ORDER BY "created_at" DESC LIMIT 20 |
09:23:35.408 | 15.0 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_comments" WHERE "parent" IN (170228, 170227, 170226) ORDER BY "created_at" |
09:23:35.360 | 14.0 ms | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_unread_comments" SET "is_read"=TRUE WHERE ("object_type"='13') AND ("object_id"='3850') AND ("remind_user_id"=1001) |
09:23:35.321 | 2.2 ms | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
09:23:35.319 | 1.8 ms | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
09:23:35.423 | 1.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=310) AND ("object_id" IN (170228, 170227, 170226)) |
09:23:35.426 | 1.3 ms | yii\db\Command::query | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 1001, 5, 'vue/comment/list', '{"object_type":"13","object_id":"3850","page":"1","web_access_token":"er_liQPTz011rRwTshQzixBLTwcD6PCJ"}', '{"code":2000,"result":{"list":[{"id":170228,"object_id":3850,"object_type":"13","parent":{},"description":"\u662f\u5426\u4f3c\u61c2\u975e\u61c2\u8212\u670d","created_by":1001,"created_at":"2025-07-04 09:23:35","reply_to":"","is_system":false,"for_user":"","description2":"","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":true},{"id":170227,"object_id":3850,"object_type":"13","parent":{},"description":"\u5218\u4eba\u8bda\u63d0\u4ea4\u4e86\u4ed8\u6b3e\u8bb0\u5f55\uff1a\u8d39\u7528\u5408\u540c\u7f16\u53f7\u4ed8\u6b3e\u91d1\u989d1\u5143","created_by":1001,"created_at":"2025-07-04 09:19:15","reply_to":"","is_system":true,"for_user":"","description2":"\u91c7\u8d2d\u5408\u540c\uff1a\u8d39\u7528\u5408\u540c\u7f16\u53f7","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":true},{"id":170226,"object_id":3850,"object_type":"13","parent":{},"description":"\u5218\u4eba\u8bda\u521b\u5efa\u4e86\u4e00\u6761\u8d39\u7528\u5408\u540c\uff1a\u6d4b\u8bd5","created_by":1001,"created_at":"2025-07-04 09:18:18","reply_to":"","is_system":true,"for_user":"","description2":"\u91c7\u8d2d\u5408\u540c\uff1a\u8d39\u7528\u5408\u540c\u7f16\u53f7","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":true}],"unread":0,"count":3,"pagenation":{"totalcount":3,"thispage":1,"pagesize":20}},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"mod":0}', FALSE, '2025-07-04 09:23:35') RETURNING "id" |
09:23:35.324 | 1.2 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
09:23:35.425 | 0.3 ms | yii\db\Command::query | SELECT "user_id", "meta_value" AS "avatar" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=1001) |
09:23:35.425 | 0.2 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex" FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |