|
@@ -125,9 +125,9 @@ func (l *DeskAnalysisReport) DeskReport() {
|
|
|
}
|
|
|
}
|
|
|
//订阅信息
|
|
|
+ var types string
|
|
|
if len(areas) == 0 {
|
|
|
userData := jy.GetBigVipUserBaseMsg(l.Session(), *config.Middleground)
|
|
|
- var types string
|
|
|
oArea := &map[string]interface{}{}
|
|
|
if userData.Data.Member.Status > 0 {
|
|
|
types = "m"
|
|
@@ -153,7 +153,7 @@ func (l *DeskAnalysisReport) DeskReport() {
|
|
|
if len(sql) > 0 {
|
|
|
strSql = fmt.Sprintf(" WHERE %s", strings.Join(sql, " and "))
|
|
|
}
|
|
|
- log.Printf("用户userId:%s,mgoid:%s,sql:%s\n", userId, mgoUserId, strSql)
|
|
|
+ log.Printf("用户userId:%s,mgoid:%s,types:%s,sql:%s\n", userId, mgoUserId, types, strSql)
|
|
|
var dataArrMap []map[string]interface{}
|
|
|
reportRes, _ := g.DB().Query(gctx.New(), fmt.Sprintf(`SELECT * FROM analysis_report %s ORDER BY show_time DESC,classify desc LIMIT 10
|
|
|
`, strSql))
|