wangchuanjin 5 lat temu
rodzic
commit
3beb7b09ab
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/jfw/front/swordfish.go

+ 1 - 1
src/jfw/front/swordfish.go

@@ -2464,7 +2464,7 @@ func (f *Front) HasPushHistory() {
 			t, _ := time.ParseInLocation("2006-01-02", time.Now().Format("2006-01-02"), time.Local)
 			today_1 := t.Unix()
 			today_2 := t.AddDate(0, 0, 1).Unix()
-			if public.Mysql.CountBySql("select count(1) as count from pushsubscribe where isvip =1 and userid =? and buyerclass=?  and (date between ? and ? )", f.GetSession("userId"), 93, today_1, today_2) > 0 {
+			if public.PushMysql.CountBySql("select count(1) as count from pushsubscribe where isvip =1 and userid =? and buyerclass=?  and (date between ? and ? )", f.GetSession("userId"), 93, today_1, today_2) > 0 {
 				otherFlag = true
 			}
 		} else {