Commit Graph

49 Commits

Author SHA1 Message Date
Leon
7d1c8687df test:所有测试文件整合在一起 2025-12-16 18:45:52 +08:00
Leon
2c9bf4cc60 chore:一些测试文件的小修改 2025-12-16 14:35:36 +08:00
Leon
a93521f8ab fix:feed流返回数据中修复isLiked 2025-12-16 14:35:04 +08:00
Leon
0915e13e8f feat:添加按照点赞数的feed流 2025-12-16 14:02:17 +08:00
Leon
ead7153cc4 fix:适配其他改动 2025-12-15 17:34:55 +08:00
Leon
ab488d7b74 feat:添加响应结构体方便前端渲染 2025-12-15 17:34:34 +08:00
Leon
9713a23e7b refactor:将request结构体写到entity,并为video添加username字段 2025-12-15 17:34:01 +08:00
Leon
b53593b920 refactor:将request结构体写到entity 2025-12-15 17:32:56 +08:00
Leon
a1d49f0ab1 docs: update readme.md 2025-12-13 23:26:12 +08:00
Leon
8e51de9410 feat(video): add likescount and updatelikescount 2025-12-09 21:11:29 +08:00
Leon
d1c0f049d6 test: update account Postman collection 2025-12-09 16:37:27 +08:00
Leon
e0992d8fcd docs: improve readme.md 2025-12-09 16:35:49 +08:00
Leon
09e6398c6e Adjust ChangePassword response wording 2025-12-09 16:21:57 +08:00
Leon
e3ae8185be fix(account): remove token when change password 2025-12-09 16:20:15 +08:00
Leon
6804b71fe9 refactor(account): pass request context into services 2025-12-09 16:05:10 +08:00
Leon
4bedf58a03 refactor(account): remove unused structs and logout by token 2025-12-09 15:58:07 +08:00
Leon
f122a6170d feat(account): use token instead of id for rename 2025-12-09 15:47:55 +08:00
Leon
6c0b8c7d7a refactor(feed): simplify ListLatest handler context usage 2025-12-09 15:35:47 +08:00
Leon
c4a81278d0 test(postman): update api collections 2025-12-09 15:31:27 +08:00
Leon
eeafe9d32a feat(video): add like/unlike/isliked/getlikescount APIs for videos 2025-12-09 15:30:16 +08:00
Leon
72f35f7a7a feat(middleware): add GetAccountID by jwtToken 2025-12-09 15:27:33 +08:00
Leon
5c79e99b70 refactor(video): clean handler/service/repo boundaries 2025-12-09 13:53:36 +08:00
Leon
172fd0a35d refactor(video): prefix core files with video_ 2025-12-09 13:29:00 +08:00
Leon
6a3480698a move handler from http to module 2025-12-08 20:35:56 +08:00
Leon
79454f1275 test: move ListLatest from video.json to feed.json 2025-12-07 22:47:48 +08:00
Leon
d29a3a5232 feat(feed): add ListLatest 2025-12-07 22:46:45 +08:00
Leon
3b80a7c5da fix: delete ListLatest(func) 2025-12-07 21:22:54 +08:00
Leon
8dcc13957b fix: change account_id to accountID to match PublishVideo(func) 2025-12-07 17:39:03 +08:00
Leon
466817d6ad fix: ensure jwt token matches the currently stored token 2025-12-07 17:36:44 +08:00
Leon
86e817458c test: change test json of postman 2025-12-07 16:49:41 +08:00
Leon
62adc9211b fix: change accountID to account_id to match PublishVideo(func) 2025-12-07 16:49:11 +08:00
Leon
77962456d6 feat: AutoMigrate table about video module 2025-12-07 16:46:55 +08:00
Leon
0de0a04f53 feat: regisiter router about video module 2025-12-07 16:46:06 +08:00
Leon
e13b74f7e0 feat: add video module 2025-12-07 16:45:00 +08:00
Leon
a764e293fb refactor: merge auth(router) to account(router) and add auth to logout(router) 2025-12-05 14:31:46 +08:00
Leon
748d4dd719 test: change user to account 2025-12-05 14:27:26 +08:00
Leon
0f36f6ccac docs: change user to account 2025-12-05 14:27:05 +08:00
Leon
c5331a459f refactor: change all user to account 2025-12-05 14:25:39 +08:00
Leon
311a27523f test: postman json of auth(login and logout) 2025-12-05 14:04:57 +08:00
Leon
35938aaa13 feat: login and logout 2025-12-05 14:03:57 +08:00
Leon
b2cf39e731 fix: chage id type from int64 to uint 2025-12-05 13:33:08 +08:00
Leon
9682537d00 feat: jwt and check 2025-12-05 13:27:04 +08:00
Leon
df30d7b549 feat: hash user password and update by username 2025-12-05 13:10:19 +08:00
Leon
f7389ff778 feat: hash password 2025-12-05 12:48:03 +08:00
Leon
f0a398a20c refactor: rename account package to http 2025-12-05 12:43:44 +08:00
Leon
a7afe895b5 docs: improve readme.md 2025-12-05 10:15:02 +08:00
Leon
c1862b5475 refactor: reorganize packages into a domain-based layered structure 2025-12-05 09:59:57 +08:00
Leon
34b05ad83f refactor:rename postman.json to account.json 2025-12-05 09:57:16 +08:00
Leon
81926ce8a2 init:搭建了整个项目的框架,初步写好了用户系统 2025-12-04 17:09:04 +08:00