Commit Graph

25 Commits

Author SHA1 Message Date
gpu
b9324e221a 321 2026-02-02 20:25:31 +08:00
gpu
81fb507fab 321 2026-02-02 07:59:16 +08:00
zpc
7a1c6ac2bd 32 2026-01-28 15:21:00 +08:00
zpc
4275557e20 3232 2026-01-28 15:11:30 +08:00
zpc
e6921b7511 32 2026-01-28 15:01:36 +08:00
zpc
31445a137c 323 2026-01-28 14:58:09 +08:00
zpc
36786314f2 333 2026-01-28 14:56:52 +08:00
zpc
144117e24d refactor: 将图片上传服务移至Infrastructure层
- 移除 HoneyBox.Api 对 HoneyBox.Admin.Business 的引用
- 在 Core 层添加 IImageUploadService 接口
- 在 Infrastructure 层实现 CosImageUploadService
- 从数据库 Configs 表读取 COS 配置
- 在 InfrastructureModule 注册服务
2026-01-28 14:44:47 +08:00
zpc
a95a2852d4 feat: 修复用户头像上传功能,支持Base64图片上传到腾讯云COS
- 修复 updateUserInfo 接口路由(update_userinfo -> updateUserInfo)
- IUploadService 添加 UploadBase64ImageAsync 方法
- UploadService 实现 Base64 图片解析和 COS 上传
- UserController 注入 IUploadService 替代本地保存逻辑
- HoneyBox.Api 添加对 HoneyBox.Admin.Business 的项目引用
2026-01-28 14:33:27 +08:00
zpc
6d3fb12018 修改路由 2026-01-28 14:05:59 +08:00
zpc
c69aaa476a 213 2026-01-27 18:24:03 +08:00
zpc
77232bc303 32 2026-01-27 13:45:39 +08:00
zpc
11ee8d963c 231 2026-01-27 13:18:10 +08:00
zpc
53a61f6298 32 2026-01-27 12:01:58 +08:00
zpc
434fe8f833 213 2026-01-25 19:10:31 +08:00
zpc
d8b86a4f3a 231 2026-01-25 15:44:07 +08:00
gpu
368d71d977 feat(api): 添加 GET /api/userInfo 接口兼容前端调用 2026-01-24 14:42:33 +08:00
gpu
6f92062305 321 2026-01-24 14:30:45 +08:00
gpu
9867b87594 feat: 实现原生微信支付功能
- 修改 ConfigService.GetPlatformConfigAsync 返回 isWebPay=false,关闭 Web 支付
- 重写 WechatService.CreatePayOrderAsync 实现原生微信支付:
  - 调用微信统一下单 API 获取 prepay_id
  - 生成 MD5 签名
  - 返回前端 uni.requestPayment 所需的参数(appId, timeStamp, nonceStr, package, signType, paySign)
- 更新 IWechatService 接口,添加 NativePayParams 类型
- 更新 WarehouseModels.cs,SendResultDto 使用 NativePayResultDto
- 更新 WarehouseService.SendPrizesAsync 使用新的支付参数格式
- 更新 appsettings.json 配置微信支付商户信息
2026-01-24 13:15:12 +08:00
gpu
7f941f1ddc fix: warehouse_send_record 接口支持 GET 请求 2026-01-24 04:23:15 +08:00
gpu
cf5e7dd0de 改进orderbuy接口错误信息,返回详细异常信息便于调试 2026-01-22 01:00:47 +08:00
gpu
439860d83d fix: 未绑定手机号时返回status=-9,支持前端跳转绑定页面
- orderbuy接口检测绑定手机号错误返回status=-9
- infinite_orderbuy接口同步修改
- mall_orderbuy接口同步修改
- infinite_mibao_orderbuy接口同步修改
2026-01-22 00:05:33 +08:00
zpc
8b17e1b84d 32 2026-01-19 00:44:56 +08:00
zpc
4646a67e15 docker 2026-01-19 00:13:22 +08:00
gpu
841533635c 调整文件夹层级 2026-01-04 01:47:02 +08:00