Commit Graph

8 Commits

Author SHA1 Message Date
Developer 608ee017d4 fix: 配置微信小程序域名的跨域 CORS
- 添加 servicewechat.com、miniapp-api-test.dxz99wyr.cn、api-miniapp.dxz99wyr.cn 到 CORS origin
- 允许 GET/POST/PUT/DELETE/OPTIONS 方法
- 允许 Content-Type/Authorization/Accept/Origin/X-Requested-With 请求头
2026-05-18 21:41:42 +08:00
Developer 58b74257c7 fix: 关闭Cross-Origin-Resource-Policy,修复图片跨域拦截 2026-05-17 13:16:48 +08:00
Developer b31835a74d fix: CSP img-src放宽为*通配符 2026-05-17 13:10:44 +08:00
Developer c3b309413e fix: 放宽CSP策略,允许http和blob图片源 2026-05-17 13:07:43 +08:00
Developer bfbfdccdea feat: note字段改为{text,images}对象结构,新增/api/upload/image接口 2026-05-17 12:46:53 +08:00
Developer f9a4d50b09 feat: add VIP gating on cloud sync write endpoints + daily expiry reminder cron
- Add requireVip middleware to POST/PUT/DELETE /api/user-equity routes
- Extract sendExpiryReminders() from route handler for reuse
- Add node-cron job at 21:30 Asia/Shanghai daily for expiry reminders

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-15 22:22:08 +08:00
Developer 519f4c2def feat: add wechat message push route for URL verification 2026-05-12 22:48:46 +08:00
Developer 8bab5d67b2 Initial backend code 2026-05-02 12:49:41 +08:00