wangkaiyue 3 年之前
父节点
当前提交
fe5cc63751
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/jfw/modules/publicapply/src/active/21yearEndReport.go

+ 1 - 1
src/jfw/modules/publicapply/src/active/21yearEndReport.go

@@ -146,7 +146,7 @@ func getRandom(userId string, t int64) int32 {
 
 //checkUserIsSubscribe 检查用户是否关注
 func checkUserIsSubscribe(openid string) bool {
-	if openid == "" {
+	if openid != "" {
 		user, ok := db.Mgo.FindOneByField("user", map[string]interface{}{
 			"i_appid":    2,
 			"s_m_openid": openid,