Commit Graph

383 Commits

Author SHA1 Message Date
c61482df10 feat: add hot-category-more page route
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-28 17:46:09 +08:00
bcc422109c feat(square): add 4 HotCategoryBlock components
- Import HotCategoryBlock and getHotInspirationFlowBatchApi
- Add hotCategories and hotCategoryRefs state
- Add loadHotCategories function to fetch categories
- Add handleHotCardClick handler for navigation
- Add template with v-for loop for hot category blocks
- Add CSS style for .hot-category-wrapper
- Call loadHotCategories in onMounted after loadBannerActivities

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-28 17:46:09 +08:00
d45a2fb479 fix: remove assetLiked event listener on unmount to prevent memory leak
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-28 17:46:09 +08:00
ab443e0a19 feat: create hot-category-more.vue page for viewing more hot category items
- Created new page at frontend/pages/square/hot-category-more.vue
- Supports route params: type and title
- Implements sub tabs for star card categories (all, raster, holographic, tear_off, polaroid)
- Uses getHotInspirationFlowMoreApi for paginated loading
- Follows existing CreationGrid card styling with like animations

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-28 17:46:08 +08:00
de4b376a87 fix: HotCategoryBlock grid layout to 4 columns
Change card width from 48% to calc(25% - 12rpx) to achieve
4 columns × 2 rows layout as specified in design docs.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-28 17:46:08 +08:00
948f19f180 feat: add HotCategoryBlock component for square page
Add a reusable hot category block component with:
- Props: categoryType, title
- Events: cardClick(item)
- Exposed methods: setItems, setLoading, handleRefresh
- 4x2 grid layout with skeleton loading
- Bottom gradient overlay with user info and like count

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-28 17:46:08 +08:00
25fc03497f feat: add hot inspiration flow API methods
Add 3 API methods following existing patterns:
- getHotInspirationFlowBatchApi() for batch fetching 4 categories
- getHotInspirationFlowApi(type) for single category refresh
- getHotInspirationFlowMoreApi(type, cursor, limit) for pagination

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-28 17:46:08 +08:00
19bfce1b65 docs: 添加热门推荐模块前端实现计划
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-28 17:46:08 +08:00
d1b52e324f docs: 添加热门推荐模块前端设计
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-28 17:46:08 +08:00
zerosaturation
9a9f4d1b96 feat: 新增点赞列表标签增加 2026-05-28 17:45:07 +08:00
zerosaturation
aef5e4a35d iamge: 添加图片 2026-05-28 15:17:58 +08:00
5b6951eef2 docs: 点赞标签文档设计 2026-05-28 12:11:31 +08:00
zerosaturation
17c68c9233 feat:增加的ai搭子对话功能 2026-05-28 12:00:19 +08:00
zerosaturation
9b0c3ee3a9 docs:ai搭子修改,热门模块新增,字段判断基础文档 2026-05-27 16:49:58 +08:00
b0b47e4608 docs: 添加文档设计 2026-05-27 11:09:56 +08:00
zerosaturation
3e1c6c309b feat: 修改样式功能 2026-05-26 22:50:39 +08:00
zerosaturation
dd34def217 feat:修改点赞接口bug 2026-05-26 21:32:37 +08:00
zerosaturation
7dbcf50a39 feat:去除多余的代码 2026-05-26 20:12:40 +08:00
zerosaturation
b8e462f9b5 feat:修改广场页面,铸造页面 2026-05-26 19:26:27 +08:00
zerosaturation
a39bb7b60f feat:新增sms短信注册 2026-05-26 13:23:04 +08:00
zerosaturation
da6c0a5ef2 feat: 修改瀑布流布局 2026-05-25 23:35:47 +08:00
zerosaturation
e545f41c3b feat:修改类型为复合类型 2026-05-25 19:03:36 +08:00
zerosaturation
0852f96436 feat:去掉重复的点赞约束 2026-05-25 19:03:35 +08:00
zerosaturation
7c5d5a7275 feat:修改藏品等级硬编码改为根据数据库的配置来定义 2026-05-25 19:03:32 +08:00
zerosaturation
8dce6ae11a fix: add new models to autoMigrate and start season reset worker 2026-05-25 19:03:32 +08:00
zerosaturation
edfa5f1449 test: add asset level service unit tests
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-25 19:03:32 +08:00
zerosaturation
2a0db41dbf fix: wire AssetLevelService into existing service constructors 2026-05-25 19:03:32 +08:00
zerosaturation
bee30a1824 feat: integrate asset level system with existing services
- mintService: Add AssetLevelService field and call GetOrCreateRecord after asset creation
- assetLikeService: Add AssetLevelService and call AddLikes/RemoveLikes in LikeAsset/UnlikeAsset
- revenueService: Add AssetLevelService and call AddExhibitionHours in OnExhibitionCompleted

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-25 19:03:31 +08:00
zerosaturation
c6a8c66e39 feat: add asset level provider for dependency injection
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-25 19:03:31 +08:00
zerosaturation
d88e7ac504 feat: add season reset worker
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-25 19:03:31 +08:00
zerosaturation
11a59b0632 feat: add asset level service with upgrade/downgrade logic
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-25 19:03:31 +08:00
zerosaturation
0753f0b168 feat: add asset level repositories
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-25 19:03:31 +08:00
zerosaturation
6f21c294e9 feat: add asset level models
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-25 19:03:31 +08:00
zerosaturation
bd905e997c feat: add asset level system database migration
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-25 19:03:31 +08:00
0e1ee56351 image:a 添加模拟的图片 2026-05-25 12:40:51 +08:00
zerosaturation
2855cd512d feat: 修改自动领取收益关闭,修复下架时间的bug,修改的光栅卡陀螺仪 2026-05-25 11:08:35 +08:00
zerosaturation
ce4fd85926 fea: 修改下架移除点赞记录删除 2026-05-22 18:49:34 +08:00
e29a718b2f feat: 修改为4/3比例的图 2026-05-22 18:43:45 +08:00
c8501c9895 docs: 完善Go SDK集成说明
- SDK包名修正为 dysmsapi-20170525/v4/client
- 补充三种操作系统环境变量配置(Linux/macOS/Windows CMD/PowerShell)
- 完善SDK使用代码(初始化、发送短信、异常处理)
- 补充更多返回码和常见错误处理
- 推荐单例模式创建客户端

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-22 18:43:44 +08:00
3370f0507d docs: 补充阿里云Go SDK详细信息
- 修正SDK包名为 github.com/alibabacloud-go/dysmsapi-20180501/v2
- 补充环境要求、安装方式、API Endpoint
- 新增12.5节:Go SDK使用说明(依赖安装、客户端初始化、发送短信代码示例)
- 新增返回码说明(OK、频率限制、内容违规等)
- 更新12.6相关文档链接,补充快速入门和SDK示例地址

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-22 18:43:44 +08:00
7588498452 docs: 更新阿里云短信价格信息
补充实际套餐包价格(200条¥10、1500条¥73.5、5000条¥170、15000条¥507.6),
修正原错误价格,删除"待确认"标注。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-22 18:43:44 +08:00
aff114afdd docs: 补充阿里云短信服务详情
新增第12章:价格计费、模板类型、签名、开通流程、相关文档链接。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-22 18:43:44 +08:00
7222598961 docs: 修正流程图中的verify_token存储位置
verify_token通过temp_register_verify_token存储,非直接verify_token,
并补充说明setNickname.vue需透传verify_token到registerApi。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-22 18:43:44 +08:00
c05953b84b docs: 修正技术选型说明
明确短信服务使用直接AccessKey认证,与OSS的STS方式区分。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-22 18:43:44 +08:00
091a3eb5c9 docs: 修正部署说明和防暴力破解策略
- 部署说明移除错误的OSS_STS_ROLE_ARN,短信使用直接AccessKey
- 防暴力破解策略补充独立Key的TTL说明

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-22 18:43:43 +08:00
ef46ec832e docs: 补充前端完整注册流程图
明确 register.vue → setNickname.vue 的页面跳转和数据传递逻辑,
verify_token 需要跟随 temp_* 一起存储和传递。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-22 18:43:43 +08:00
cc5565ffaf docs: 简化验证后处理流程
删除验证码 -> 创建 verify:register:{mobile} 记录 -> 注册时比对

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-22 18:43:43 +08:00
95d8c75500 docs: 修正 verify_token 为简单随机字符串非JWT
verify_token 使用 32 位随机字符串(vtf_xxx)而非 JWT,
避免签名验证的复杂性,直接 Redis 比对即可。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-22 18:43:43 +08:00
72ea3f4305 docs: 完善注册短信验证码设计文档
根据评审意见修改:
- 配置项移至 userService(方案一)
- Redis 存储增加 scene 维度、防暴力破解策略、发送频率限制
- verify-code 增加 verify_token 供后续注册接口使用
- 补充错误处理场景(Redis失败、阿里云超时、限流等)
- 增加安全注意事项(日志脱敏、token安全等)

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-22 18:43:43 +08:00
d5d311c2b2 docs: 添加注册短信验证码功能设计文档
包含三种实现方案(userService集成、独立微服务、gateway)的对比分析,
推荐方案一在userService中直接集成SMS SDK。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-22 18:43:43 +08:00