Commit Graph

5 Commits

Author SHA1 Message Date
duanshuwen
34711330bd feat(utils, payment): add execution lock utils and prevent duplicate payment requests
Add two new throttle utility methods: createAsyncThrottle and createExecutionLock for safe async operation locking. Update the existing throttle method's comment to clarify traditional timestamp usage. Replace DebounceUtils usage with ThrottleUtils.createExecutionLock in order footer and booking page payment handlers to prevent duplicate payments. Rewrite uni.requestPayment calls to use Promise wrapping for proper async handling, and add try/catch/finally blocks to ensure loading state is always cleaned up correctly. Fix template formatting and trailing commas across modified files.
2026-07-23 21:10:34 +08:00
duanshuwen
4bd151d6d1 feat: 快速预定交互调整 2025-10-27 21:19:09 +08:00
duanshuwen
4b066626cf feat: 新增快速预定页面 2025-10-18 15:44:48 +08:00
duanshuwen
3646870695 feat: 修复商品下单节流 2025-10-07 14:26:17 +08:00
duanshuwen
9f23854ad5 feat: 调整项目结构 2025-09-21 17:25:09 +08:00