Total processing time: 130 ms; Peak memory: 2.156 MB. Show Profiling Timeline
Time | Duration | Category | Info |
---|---|---|---|
16:48:05.943 | 21.1 ms | yii\db\Command::query | SELECT COUNT(*) FROM "a57be577deb434"."tbl_comments" WHERE object_type = '1' AND object_id = '3813' |
16:48:05.965 | 19.6 ms | yii\db\Command::query | SELECT COUNT(*) FROM "a57be577deb434"."tbl_unread_comments" WHERE object_type = '1' AND object_id = '3813' AND remind_user_id = 1001 |
16:48:05.999 | 19.6 ms | yii\db\Command::query | SELECT COUNT(*) FROM (SELECT * FROM "a57be577deb434"."tbl_comments" WHERE ("parent" IS NULL) AND ("object_type"='1') AND ("object_id"='3813') ORDER BY "created_at" DESC) "c" |
16:48:06.019 | 19.0 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_comments" WHERE ("parent" IS NULL) AND ("object_type"='1') AND ("object_id"='3813') ORDER BY "created_at" DESC LIMIT 20 |
16:48:06.038 | 18.4 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_comments" WHERE "parent" IN (173001, 171870, 171786) ORDER BY "created_at" |
16:48:05.985 | 14.0 ms | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_unread_comments" SET "is_read"=TRUE WHERE ("object_type"='1') AND ("object_id"='3813') AND ("remind_user_id"=1001) |
16:48:05.937 | 2.4 ms | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
16:48:06.057 | 2.1 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=310) AND ("object_id" IN (173001, 171870, 171786)) |
16:48:05.935 | 1.9 ms | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
16:48:05.941 | 1.8 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
16:48:06.061 | 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":"1","object_id":"3813","page":"1","web_access_token":"XhRGK-TEYxjNgTke6o2XsTgu0JENtyUF"}', '{"code":2000,"result":{"list":[{"id":173001,"object_id":3813,"object_type":"1","parent":{},"description":"\u5218\u4eba\u8bda\u66f4\u65b0\u4e86\u4e00\u6761\u5546\u673a\u72b6\u6001\u5546\u673a\u6210\u4ea4\u53d8\u4e3a\u5546\u673a\u6401\u7f6e","created_by":1001,"created_at":"2025-04-15 09:39:21","reply_to":"","is_system":true,"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":171870,"object_id":3813,"object_type":"1","parent":{},"description":"\u5218\u4eba\u8bda\u66f4\u65b0\u4e86\u4e00\u6761\u5546\u673a\u72b6\u6001\u660e\u786e\u9700\u6c42\u53d8\u4e3a\u5546\u673a\u6210\u4ea4","created_by":1001,"created_at":"2025-04-03 09:55:37","reply_to":"","is_system":true,"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":171786,"object_id":3813,"object_type":"1","parent":{},"description":"\u5218\u4eba\u8bda\u65b0\u5efa\u4e86\u4e00\u6761\u72b6\u6001\u4e3a\u660e\u786e\u9700\u6c42\u7684\u5546\u673a","created_by":1001,"created_at":"2025-04-02 11:43:21","reply_to":"","is_system":true,"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}],"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-09-10 16:48:06') RETURNING "id" |
16:48:06.060 | 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) |
16:48:06.059 | 0.2 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex" FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |