Browse Source

Merge branch 'master' of http://8.136.199.33:3000/hongze/hongze_cygx into cygx_6.4.1_task

xingzai 2 năm trước cách đây
mục cha
commit
a77c0034e7
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      models/wx_user.go

+ 2 - 1
models/wx_user.go

@@ -319,11 +319,12 @@ func GetUserRegisterList() (items []*WxUser, err error) {
 				AND b.STATUS IN ( '正式', '试用', '冻结' ) 
 				AND cp.product_id = 2 
 			) 
-			AND u.register_time IS NOT NULL
+			AND (u.register_time IS NOT NULL OR u.report_last_view_time <>'')
 			AND cp.product_id = 2
 		GROUP BY
 			u.user_id `
 	_, err = o.Raw(sql).QueryRows(&items)
+	//AND u.register_time IS NOT NULL OR u.report_last_view_time <>'' 统计阅读时间与注册时间不为空的用户
 	return
 }