微信登录验证完成

This commit is contained in:
GeekMaster
2025-08-30 20:30:52 +08:00
parent c83c88ef27
commit 9254b8fafe
7 changed files with 655 additions and 326 deletions

View File

@@ -114,7 +114,7 @@ func (h *PaymentHandler) SyncOrders() error {
for _, order := range orders {
time.Sleep(time.Second * 1)
//超时15分钟的订单直接标记为已关闭
if time.Now().After(order.CreatedAt.Add(time.Minute * 15)) {
if time.Now().After(order.CreatedAt.Add(time.Minute * 5)) {
h.DB.Model(&model.Order{}).Where("id", order.Id).Update("checked", true)
logger.Errorf("订单超时:%v", order)
continue