Explorar el Código

提现加入redis队列处理

abiao hace 5 años
padre
commit
d7f20bd757

+ 3 - 0
go/gopath/src/fohow.com/apps/controllers/cron_controller/order_receive_automatically.go

@@ -95,6 +95,9 @@ func OrderCancelAutomatically() {
 			order.Save()
 			helpers.ThrowOutRedisList(key, orderId)
 		}
+		if order.Status == order_model.STATUS_CLOSED {
+			helpers.ThrowOutRedisList(key, orderId)
+		}
 	}
 	return
 }