Browse Source

Merge branch 'master' of http://8.136.199.33:3000/hongze/hongze_cygx into debug

xingzai 8 months ago
parent
commit
004958a730
1 changed files with 1 additions and 1 deletions
  1. 1 1
      models/wx_template_msg.go

+ 1 - 1
models/wx_template_msg.go

@@ -49,7 +49,7 @@ func GetWxOpenIdByMobileList(mobile string) (items []*OpenIdList, err error) {
 				union_id,open_id,
 				cygx_user_id AS user_id
 				FROM cygx_user_record as u	WHERE	1 = 1	 ` + condition
-	_, err = orm.NewOrm().Raw(sql).QueryRows(&items)
+	_, err = orm.NewOrm().Raw(sql, pars).QueryRows(&items)
 	return
 }