|
@@ -238,7 +238,7 @@ func init() {
|
|
go func() {
|
|
go func() {
|
|
log.Println("开始加载72小时内的订单到内存中。。。")
|
|
log.Println("开始加载72小时内的订单到内存中。。。")
|
|
startTime := time.Now().Unix() - MsgRemind.getExpireTime()
|
|
startTime := time.Now().Unix() - MsgRemind.getExpireTime()
|
|
- list := Mysql.SelectBySql("select id,order_code,order_money,user_id,prepay_time,remind_status,vip_type from dataexport_order where order_money>0 prepay_time>=? and product_type='VIP订阅' and order_status=0 and (remind_status<>2 or remind_status is null)", startTime)
|
|
|
|
|
|
+ list := Mysql.SelectBySql("select id,order_code,order_money,user_id,prepay_time,remind_status,vip_type from dataexport_order where order_money>0 and prepay_time>=? and product_type='VIP订阅' and order_status=0 and (remind_status<>2 or remind_status is null)", startTime)
|
|
if list == nil {
|
|
if list == nil {
|
|
log.Println("加载72小时内的订单到内存中失败")
|
|
log.Println("加载72小时内的订单到内存中失败")
|
|
return
|
|
return
|