Explorar o código

更改统计条件

abiao %!s(int64=5) %!d(string=hai) anos
pai
achega
e5129f9d17
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      go/gopath/src/fohow-statement-api/models/d5c_user.go

+ 1 - 0
go/gopath/src/fohow-statement-api/models/d5c_user.go

@@ -268,6 +268,7 @@ func GetFohowRankMonthNewUsers(startTime, endTime time.Time) (list []*MonthItem)
 			ym ASC;
 		`
 	sql = fmt.Sprintf(sql, "%Y%m", "%m", endTime, startTime)
+	beego.Warn("sqlquery%s", sql)
 	_, err := o.Raw(sql).QueryRows(&list)
 
 	if err != nil {