|
@@ -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
|
|
|
}
|
|
|
|