rwadurian/backend/services/trading-service
hailin 21f51c5d84 fix(c2c-bot): 修复 sharp 导入方式,解决水单生成 is not a function 错误
NestJS 使用 CommonJS 模块系统,`import sharp from 'sharp'` 编译后
生成 `sharp_1.default` 调用,但 sharp 没有 default export。
改为 `import * as sharp from 'sharp'` 修复。

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 18:47:38 -08:00
..
prisma feat(c2c): 订单详情增强、付款水单上传、买单逻辑修复及schema对齐 2026-01-31 08:54:05 -08:00
src fix(c2c-bot): 修复 sharp 导入方式,解决水单生成 is not a function 错误 2026-02-02 18:47:38 -08:00
.env.example feat(mining-ecosystem): 添加挖矿生态系统完整微服务与前端 2026-01-10 17:45:46 -08:00
DEVELOPMENT_GUIDE.md feat(mining-ecosystem): 添加挖矿生态系统完整微服务与前端 2026-01-10 17:45:46 -08:00
Dockerfile fix(c2c): 修复水单上传权限、手机号、卖方ID、资产显示 2026-01-31 09:19:38 -08:00
nest-cli.json feat(mining-ecosystem): 添加挖矿生态系统完整微服务与前端 2026-01-10 17:45:46 -08:00
package-lock.json feat(c2c-bot): 顺序处理订单 + 自动生成付款水单图片 2026-02-02 18:32:52 -08:00
package.json feat(c2c-bot): 顺序处理订单 + 自动生成付款水单图片 2026-02-02 18:32:52 -08:00
tsconfig.json fix(trading-service): exclude prisma from tsconfig to fix build output path 2026-01-15 04:46:01 -08:00