Commit Graph

47 Commits

Author SHA1 Message Date
Leon
8ee2025951 feat: 添加了根据关注的feed流 2025-12-19 19:20:52 +08:00
Leon
d2f40acf4d feat: 添加了social的关注功能 2025-12-19 19:03:42 +08:00
Leon
2786530c54 feat: 加入了一些边界检查 2025-12-16 18:52:09 +08:00
Leon
b9fe48a328 feat: 添加了评论功能并注册 2025-12-16 18:51:50 +08:00
Leon
ef47d5e2de feat: 添加了删除视频功能并添加了一些边界检查 2025-12-16 18:51:17 +08:00
Leon
7883a7427d feat: 添加了SoftJWTAuth 2025-12-16 18:50:10 +08:00
Leon
882204ca93 fix:使isLiked可以正确获取,并修复了时间会负值的bug 2025-12-16 18:49:26 +08:00
Leon
68b4550c56 feat:secret从环境中获取 2025-12-16 18:47:22 +08:00
Leon
7fb8c61091 fix:rename后重新生成token 2025-12-16 18:46:51 +08:00
Leon
52694a1475 refactor:请求结构体放到entity 2025-12-16 18:46:24 +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
8e51de9410 feat(video): add likescount and updatelikescount 2025-12-09 21:11:29 +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
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
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
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
c5331a459f refactor: change all user to account 2025-12-05 14:25:39 +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
c1862b5475 refactor: reorganize packages into a domain-based layered structure 2025-12-05 09:59:57 +08:00
Leon
81926ce8a2 init:搭建了整个项目的框架,初步写好了用户系统 2025-12-04 17:09:04 +08:00