wangshan 2 anos atrás
pai
commit
7f97997d6a
1 arquivos alterados com 1 adições e 2 exclusões
  1. 1 2
      jyBXBase/rpc/model/newestBidding.go

+ 1 - 2
jyBXBase/rpc/model/newestBidding.go

@@ -4,7 +4,6 @@ import (
 	"fmt"
 	"jyBXBase/rpc/bxbase"
 	IC "jyBXBase/rpc/init"
-	"log"
 	"strings"
 	"time"
 
@@ -57,7 +56,7 @@ func GetNewestInfo(userId, userType string, newUserId int64) *NewestInfo {
 func (n *NewestInfo) GetPushHistory() (res []*bxbase.NewestList) {
 	findSQL := "select a.infoid,a.matchkeys,b.isvalidfile as attachment_count,b.budget,b.bidamount from %s a INNER JOIN %s b ON a.userid=%d and a.date>=%d and a.infoid=b.infoid order by a.id desc limit 50"
 	findSQL = fmt.Sprintf(findSQL, n.TableName, Pushbidding, n.NewUserId, time.Now().AddDate(0, 0, -7).Unix())
-	log.Println("findSQL:", findSQL)
+	logx.Info(n.TableName, "-------", n.NewUserId, ",findSQL:", findSQL)
 	list := n.MysqlDb.SelectBySql(findSQL)
 	if len(*list) > 0 && list != nil {
 		m := map[string]bool{}