浏览代码

no message

xingzai 3 年之前
父节点
当前提交
20fdbd7209
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      models/wx_user.go

+ 1 - 1
models/wx_user.go

@@ -316,7 +316,7 @@ func GetUserRegisterList() (items []*WxUser, err error) {
 				AND b.STATUS IN ( '正式', '试用', '冻结' ) 
 				AND cp.product_id = 2 
 			) 
-			AND u.is_register = 1 
+			AND u.register_time IS NOT NULL
 			AND cp.product_id = 2 
 		GROUP BY
 			u.user_id`