Commit Graph

164 Commits

Author SHA1 Message Date
nuyue f11631dce5 fix: format fee display in order detail
Build and Push Docker Image / build-and-push (push) Successful in 1m3s
Build and Push Docker Image / deploy (push) Successful in 8s
2026-07-16 18:40:39 +08:00
nuyue 13768f5f5b feat: update order model with packaging_fee and international_fee, remove tax
Build and Push Docker Image / build-and-push (push) Successful in 1m6s
Build and Push Docker Image / deploy (push) Successful in 8s
2026-07-16 18:17:29 +08:00
nuyue 74420e687b fix: add packaging_fee and international_fee_rate to public settings
Build and Push Docker Image / build-and-push (push) Successful in 1m3s
Build and Push Docker Image / deploy (push) Successful in 7s
2026-07-16 16:47:59 +08:00
nuyue e4ec378237 fix: handle interface{} type in settings update request
Build and Push Docker Image / build-and-push (push) Successful in 1m1s
Build and Push Docker Image / deploy (push) Successful in 9s
2026-07-16 16:23:10 +08:00
nuyue b99906ee2d feat: remove tax fee from checkout summary
Build and Push Docker Image / build-and-push (push) Successful in 1m3s
Build and Push Docker Image / deploy (push) Successful in 7s
2026-07-16 16:14:52 +08:00
nuyue 24d45d03b6 feat: add packaging fee and international fee to checkout summary
Build and Push Docker Image / build-and-push (push) Successful in 1m1s
Build and Push Docker Image / deploy (push) Successful in 8s
2026-07-16 16:09:39 +08:00
nuyue b390a3ca07 Revert "style: simplify announcement bar design, remove gradient background"
Build and Push Docker Image / build-and-push (push) Successful in 1m3s
Build and Push Docker Image / deploy (push) Successful in 7s
This reverts commit 2790310a25.
2026-07-16 15:53:57 +08:00
nuyue 2790310a25 style: simplify announcement bar design, remove gradient background
Build and Push Docker Image / build-and-push (push) Successful in 1m2s
Build and Push Docker Image / deploy (push) Successful in 7s
2026-07-16 15:39:18 +08:00
nuyue 43009ec3b9 feat: add announcement feature with admin management and home page display
Build and Push Docker Image / build-and-push (push) Successful in 1m3s
Build and Push Docker Image / deploy (push) Successful in 7s
2026-07-16 15:28:37 +08:00
nuyue c94641cda0 fix: redirect to login page when user tries to register lottery without login
Build and Push Docker Image / build-and-push (push) Successful in 1m3s
Build and Push Docker Image / deploy (push) Successful in 8s
2026-07-16 14:54:33 +08:00
nuyue a55484e3c0 fix: update auth-topbar logo to use project logo.png
Build and Push Docker Image / build-and-push (push) Successful in 1m4s
Build and Push Docker Image / deploy (push) Successful in 9s
2026-07-16 14:45:17 +08:00
nuyue 41e668a947 fix: update register and forgot-password page logos to use project logo.png
Build and Push Docker Image / build-and-push (push) Successful in 1m2s
Build and Push Docker Image / deploy (push) Successful in 7s
2026-07-16 12:44:42 +08:00
nuyue 2ed6bb2389 fix: update login page logo to use project logo.png
Build and Push Docker Image / build-and-push (push) Successful in 1m8s
Build and Push Docker Image / deploy (push) Successful in 9s
2026-07-16 12:24:11 +08:00
admin 0669528e58 fix: 创建订单时设置30分钟支付过期时间
Build and Push Docker Image / build-and-push (push) Successful in 1m3s
Build and Push Docker Image / deploy (push) Successful in 10s
2026-07-14 12:18:41 +00:00
admin 0a0f10b086 feat: 添加订单过期自动检查定时任务(每30秒)
Build and Push Docker Image / build-and-push (push) Successful in 1m1s
Build and Push Docker Image / deploy (push) Successful in 8s
2026-07-14 09:28:52 +00:00
admin c419eb3d4a fix: 通过 code 或 type 查找支付通道
Build and Push Docker Image / build-and-push (push) Successful in 1m3s
Build and Push Docker Image / deploy (push) Successful in 8s
2026-07-14 09:17:02 +00:00
admin dfd7d6a256 fix: HashPay 支付跳转到外部支付页面
Build and Push Docker Image / build-and-push (push) Successful in 1m2s
Build and Push Docker Image / deploy (push) Successful in 8s
2026-07-14 08:11:32 +00:00
admin b6da19f095 revert: 移除根路径 HashPay 回调支持
Build and Push Docker Image / build-and-push (push) Successful in 1m2s
Build and Push Docker Image / deploy (push) Successful in 7s
2026-07-14 04:34:42 +00:00
admin 0b82776c59 feat: HashPay 回调支持根路径 POST /
Build and Push Docker Image / build-and-push (push) Successful in 1m4s
Build and Push Docker Image / deploy (push) Successful in 7s
2026-07-14 04:22:19 +00:00
admin 917bd926c9 feat: 添加 HashPay 支付渠道支持
Build and Push Docker Image / build-and-push (push) Successful in 1m1s
Build and Push Docker Image / deploy (push) Successful in 7s
后端:
- payment.go: 添加 HashPay 支付处理器
  - RSA-SHA256 签名
  - RSA-OAEP-256+A256GCM 回调解密
  - 创建订单和回调处理
- routes.go: 添加 HashPay 回调路由

前端:
- PaymentChannels.vue: 添加 HashPay 类型选项
  - 商户ID配置
  - RSA私钥配置
  - API地址配置

参考 bepusdt 的交互方式,支持多种加密货币支付
2026-07-13 04:21:16 +00:00
admin 51edee4d92 fix: 修复游客购物车商品显示和添加地址问题
Build and Push Docker Image / build-and-push (push) Successful in 1m5s
Build and Push Docker Image / deploy (push) Successful in 7s
- ProductDetail.vue: 添加购物车时传入完整商品信息
- Cart.vue: 未登录点击添加地址跳转登录页
- 游客购物车正确显示商品状态
2026-07-13 03:55:59 +00:00
admin 0c9cf4d347 feat: 将网页标题和导航标题改为星汐商店
Build and Push Docker Image / build-and-push (push) Successful in 1m1s
Build and Push Docker Image / deploy (push) Successful in 7s
2026-07-13 03:52:13 +00:00
admin ae28aa8ae8 fix: 购物车页面未登录时不调用需要认证的API
Build and Push Docker Image / build-and-push (push) Successful in 1m1s
Build and Push Docker Image / deploy (push) Successful in 7s
- fetchAddresses 未登录时跳过
- fetchUserProfile 未登录时跳过(已有)
- 避免触发 401 跳转登录页
2026-07-13 03:48:57 +00:00
admin dcb187502d fix: 将 /cart 加入公开接口列表,避免 401 时跳转登录页
Build and Push Docker Image / build-and-push (push) Successful in 59s
Build and Push Docker Image / deploy (push) Successful in 8s
2026-07-13 02:30:08 +00:00
admin 59dc14b529 fix: 移除购物车和抽奖页面的路由认证要求
Build and Push Docker Image / build-and-push (push) Successful in 1m1s
Build and Push Docker Image / deploy (push) Successful in 8s
- cart 路由移除 requiresAuth,支持游客浏览购物车
- lotteries 路由移除 requiresAuth,支持游客查看抽奖活动
- 下单和报名时在页面逻辑中检查登录状态
2026-07-13 02:18:18 +00:00
admin bdc9285845 feat: 支持游客购物车,下单时才需要登录
Build and Push Docker Image / build-and-push (push) Successful in 1m1s
Build and Push Docker Image / deploy (push) Successful in 8s
- cart.ts: 使用 localStorage 存储游客购物车,登录后合并
- Cart.vue: 下单时检查登录状态
- Login.vue: 登录成功后自动合并游客购物车
- api/index.ts: cart list 使用静默模式避免 401 跳转

游客可以浏览商品、添加购物车,只有下单时才需要登录
2026-07-13 01:51:56 +00:00
admin db2a2592ea fix: 抽奖页面查看不需要登录,仅报名需要登录
Build and Push Docker Image / build-and-push (push) Successful in 1m1s
Build and Push Docker Image / deploy (push) Successful in 7s
2026-07-13 01:46:39 +00:00
admin 625eb76ebc fix: 未登录时静默跳过需要认证的API调用
Build and Push Docker Image / build-and-push (push) Successful in 1m1s
Build and Push Docker Image / deploy (push) Successful in 8s
- ProductDetail.vue: fetchUserCredits 添加登录检查
- Cart.vue: fetchUserProfile 添加登录检查
- Lotteries.vue: fetchLotteries 添加登录检查
- LotteryDetail.vue: getById/register 添加登录检查和错误处理

避免未登录用户访问页面时出现401错误
2026-07-13 01:41:06 +00:00
admin 7b81d2944a fix: 商品详情页未登录时不触发登录跳转
Build and Push Docker Image / build-and-push (push) Successful in 1m0s
Build and Push Docker Image / deploy (push) Successful in 7s
- request.ts: 增加 silent 选项支持静默请求
- request.ts: 公开接口 401 不显示消息也不跳转
- ProductDetail.vue: fetchUserCredits 先检查 token,未登录直接跳过请求
2026-07-13 00:52:08 +00:00
admin 6af4ac907e fix: 公开接口401错误不应跳转登录页
Build and Push Docker Image / build-and-push (push) Successful in 1m4s
Build and Push Docker Image / deploy (push) Successful in 9s
- 扩展公开接口列表,包括 products/categories/brands/banners/articles/lotteries
- 公开接口的401错误静默处理,不跳转登录页
- 修复商品详情页未登录时跳转登录的问题
2026-07-13 00:43:39 +00:00
nuyue 3d02009602 chore: update logo and favicon from waiguoyan assets
Build and Push Docker Image / build-and-push (push) Successful in 1m0s
Build and Push Docker Image / deploy (push) Successful in 7s
2026-07-12 20:51:31 +08:00
nuyue bdefa34d41 feat: remove shipping settings, use shipping templates for cart calculation
Build and Push Docker Image / build-and-push (push) Successful in 1m0s
Build and Push Docker Image / deploy (push) Successful in 7s
2026-07-12 20:01:03 +08:00
nuyue d7716b463b feat: update sidebar logo to use custom logo.png
Build and Push Docker Image / build-and-push (push) Successful in 1m0s
Build and Push Docker Image / deploy (push) Successful in 7s
2026-07-12 19:54:58 +08:00
nuyue 692392bb64 fix: revert runner label back to ubuntu
Build and Push Docker Image / build-and-push (push) Successful in 1m4s
Build and Push Docker Image / deploy (push) Successful in 7s
2026-07-12 19:50:50 +08:00
nuyue 4ab0ce76c0 fix: update runner label to act-runner-4c6g
Build and Push Docker Image / build-and-push (push) Has been cancelled
Build and Push Docker Image / deploy (push) Has been cancelled
2026-07-12 19:50:10 +08:00
nuyue 46daa0999b feat: add shipping template management and update favicon
Build and Push Docker Image / build-and-push (push) Successful in 1m3s
Build and Push Docker Image / deploy (push) Successful in 7s
2026-07-12 18:52:27 +08:00
nuyue 6476d20faa chore: remove GitHub Actions workflow
Build and Push Docker Image / build-and-push (push) Successful in 1m9s
Build and Push Docker Image / deploy (push) Successful in 10s
2026-07-12 16:03:35 +08:00
nuyue 7d7e350c9f chore: remove duplicate build.yaml workflow, keep only docker.yml 2026-07-12 16:01:34 +08:00
admin e7fcb24b6e fix: 分类列表查询预加载 PurchaseGroup 关联数据
Build and Push Docker Image / build-and-push (push) Successful in 1m0s
Build and Push Docker Image / deploy (push) Successful in 7s
Docker Build / Build and Push Docker Image (push) Has been cancelled
Docker Build / Deploy to Server (push) Has been cancelled
2026-07-06 01:21:52 +08:00
admin 4e86a9a6ad feat: 添加购买分组功能,替代跨分类购物选项
Build and Push Docker Image / build-and-push (push) Successful in 1m0s
Build and Push Docker Image / deploy (push) Successful in 7s
Docker Build / Build and Push Docker Image (push) Has been cancelled
Docker Build / Deploy to Server (push) Has been cancelled
2026-07-05 21:51:32 +08:00
admin b26fea9621 feat: 分类管理添加是否可跨分类购物选项
Build and Push Docker Image / build-and-push (push) Successful in 1m0s
Build and Push Docker Image / deploy (push) Successful in 8s
Docker Build / Build and Push Docker Image (push) Has been cancelled
Docker Build / Deploy to Server (push) Has been cancelled
2026-07-05 20:18:27 +08:00
admin 62df42d479 chore: 删除 GitHub Actions 工作流,使用 Gitea Actions
Build and Push Docker Image / build-and-push (push) Successful in 1m0s
Build and Push Docker Image / deploy (push) Successful in 8s
Docker Build / Build and Push Docker Image (push) Has been cancelled
Docker Build / Deploy to Server (push) Has been cancelled
2026-07-05 19:57:43 +08:00
admin 85d5d14845 ci: 添加 SSH 部署步骤
Build and Push Docker Image / build-and-push (push) Successful in 1m5s
Build and Push Docker Image / deploy (push) Successful in 9s
Docker Build / Build and Push Docker Image (push) Has been cancelled
Docker Build / Deploy to Server (push) Has been cancelled
2026-07-05 19:43:36 +08:00
admin 04420c4ad9 ci: 密钥名称改为 TOKEN
Build and Push Docker Image / build-and-push (push) Successful in 3m50s
Docker Build / Build and Push Docker Image (push) Has been cancelled
Docker Build / Deploy to Server (push) Has been cancelled
2026-06-27 04:20:32 +08:00
admin d1c9770e77 添加新的工作流和临时文件 2026-06-27 04:12:17 +08:00
admin a02ae26c2d fix: 修复商品图片居中显示
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-10 23:12:22 +08:00
admin 1405e13383 fix: 修复商品图片超出容器问题,约束el-image组件尺寸
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-10 23:05:35 +08:00
admin cf08bf67cf fix: 修复商品图片缩放显示,使用深度选择器设置img样式
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-10 22:50:55 +08:00
admin 4f47c15d4f fix: 恢复商品详情页图片显示,使用scale-down确保图片完整显示
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-10 22:26:38 +08:00
admin 86d03886b4 feat: 商品详情页图片缩放显示改进
- 添加缩略图列表切换功能
- 点击主图可放大预览
- 添加缩放提示文字
- 优化移动端样式

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-10 22:13:27 +08:00