wangchuanjin 5 年之前
父节点
当前提交
bf6a11ea25
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/jfw/modules/app/src/app/front/swordfish.go

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

@@ -684,7 +684,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 userid=? and (date between ? and ? ) and isvip=1 and buyerclass=93", f.GetSession("userId"), today_1, today_2) > 0 {
+	if public.PushMysql.CountBySql("select count(1) as count from pushsubscribe where userid=? and (date between ? and ? ) and isvip=1 and buyerclass=93", f.GetSession("userId"), today_1, today_2) > 0 {
 		otherFlag = true
 	}
 	//formatTime