V3.8.4 Pro
日志如下:
(/Users/aaronliu/Projects/CloudrevePro/models/file.go:220)
[2024-05-25 15:38:31] [12.90ms] SELECT * FROM "files" WHERE "files"."deleted_at" IS NULL AND ((source_name = 'uploads/2/2024/05/25/HpSFaLv8OFF5EEj7sRT4dNtIVunBZ6.webp_chznfZM8' and policy_id = 9 and id != 27362)) ORDER BY "files"."id" ASC LIMIT 1
[0 rows affected or returned ]
[Warning] 2024-05-25 15:38:31 Failed to cancel upload session for "HpSFaLv8OFF5EEj7sRT4dNtIVunBZ6.webp": oss: service returned error: StatusCode=404, ErrorCode=NoSuchUpload, ErrorMessage="The specified upload does not exist. The upload ID may be invalid, or the upload may have been aborted or completed.", RequestId=66519577D4BE203935660D95
(/Users/aaronliu/Projects/CloudrevePro/models/file.go:262)
[2024-05-25 15:38:31] [0.57ms] DELETE FROM "files" WHERE "files"."id" = 27362 AND ((size = 0))
[1 rows affected or returned ]
(/Users/aaronliu/Projects/CloudrevePro/models/user.go:105)
[2024-05-25 15:38:31] [0.19ms] UPDATE "users" SET "storage" = storage - 0, "updated_at" = '2024-05-25 15:38:31' WHERE "users"."deleted_at" IS NULL AND "users"."id" = 2
[1 rows affected or returned ]
(/Users/aaronliu/Projects/CloudrevePro/models/share.go:229)
[2024-05-25 15:38:31] [0.28ms] UPDATE "shares" SET "deleted_at"='2024-05-25 15:38:31' WHERE "shares"."deleted_at" IS NULL AND ((source_id in (27362) and is_dir = false))
[0 rows affected or returned ]
(/Users/aaronliu/Projects/CloudrevePro/models/folder.go:146)
[2024-05-25 15:38:31] [0.08ms] DELETE FROM "folders" WHERE (id in (NULL))
[0 rows affected or returned ]
(/Users/aaronliu/Projects/CloudrevePro/models/share.go:229)
[2024-05-25 15:38:31] [0.24ms] UPDATE "shares" SET "deleted_at"='2024-05-25 15:38:31' WHERE "shares"."deleted_at" IS NULL AND ((source_id in (NULL) and is_dir = true))
[0 rows affected or returned ]
[GIN] 2024/05/25 - 15:38:31 | 200 | 334.633606ms | 103.151.172.89 | DELETE "/api/v3/file/upload/7452524e-8767-4952-9888-0418289228fb"
(/Users/aaronliu/Projects/CloudrevePro/models/user.go:203)
[2024-05-25 15:38:32] [0.47ms] SELECT * FROM "users" WHERE "users"."deleted_at" IS NULL AND ((status = 0) AND ("users"."id" = 2)) ORDER BY "users"."id" ASC LIMIT 1
[1 rows affected or returned ]
(/Users/aaronliu/Projects/CloudrevePro/models/user.go:203)
[2024-05-25 15:38:32] [0.92ms] SELECT * FROM "users" WHERE "users"."deleted_at" IS NULL AND ((status = 0) AND ("users"."id" = 2)) ORDER BY "users"."id" ASC LIMIT 1
[1 rows affected or returned ]
(/Users/aaronliu/Projects/CloudrevePro/models/user.go:203)
[2024-05-25 15:38:32] [0.67ms] SELECT * FROM "groups" WHERE "groups"."deleted_at" IS NULL AND (("id" IN (1))) ORDER BY "groups"."id" ASC
[1 rows affected or returned ]
[GIN] 2024/05/25 - 15:38:32 | 200 | 1.554056ms | 103.151.172.89 | GET "/api/v3/user/storage"
(/Users/aaronliu/Projects/CloudrevePro/models/user.go:203)
[2024-05-25 15:38:32] [0.46ms] SELECT * FROM "groups" WHERE "groups"."deleted_at" IS NULL AND (("id" IN (1))) ORDER BY "groups"."id" ASC
[1 rows affected or returned ]
(/Users/aaronliu/Projects/CloudrevePro/models/user.go:69)
[2024-05-25 15:38:32] [0.26ms] SELECT * FROM "folders" WHERE "folders"."deleted_at" IS NULL AND ((parent_id is NULL AND owner_id = 2)) ORDER BY "folders"."id" ASC LIMIT 1
[1 rows affected or returned ]
(/Users/aaronliu/Projects/CloudrevePro/models/folder.go:86)
[2024-05-25 15:38:32] [0.24ms] SELECT * FROM "folders" WHERE "folders"."deleted_at" IS NULL AND ((parent_id = 2))
[3 rows affected or returned ]
(/Users/aaronliu/Projects/CloudrevePro/models/file.go:113)
[2024-05-25 15:38:32] [0.21ms] SELECT * FROM "files" WHERE "files"."deleted_at" IS NULL AND ((folder_id = 2))
[1 rows affected or returned ]
(/Users/aaronliu/Projects/CloudrevePro/models/user.go:69)
[2024-05-25 15:38:32] [0.15ms] SELECT * FROM "folders" WHERE "folders"."deleted_at" IS NULL AND ((parent_id is NULL AND owner_id = 2)) ORDER BY "folders"."id" ASC LIMIT 1
[1 rows affected or returned ]
[GIN] 2024/05/25 - 15:38:32 | 200 | 6.181868ms | 103.151.172.89 | GET "/api/v3/directory/"
(/Users/aaronliu/Projects/CloudrevePro/models/user.go:203)
[2024-05-25 15:38:32] [0.53ms] SELECT * FROM "users" WHERE "users"."deleted_at" IS NULL AND ((status = 0) AND ("users"."id" = 2)) ORDER BY "users"."id" ASC LIMIT 1
[1 rows affected or returned ]
(/Users/aaronliu/Projects/CloudrevePro/models/user.go:203)
[2024-05-25 15:38:32] [0.28ms] SELECT * FROM "groups" WHERE "groups"."deleted_at" IS NULL AND (("id" IN (1))) ORDER BY "groups"."id" ASC
[1 rows affected or returned ]
[GIN] 2024/05/25 - 15:38:32 | 200 | 1.322395ms | 103.151.172.89 | GET "/api/v3/user/storage"```