소스 검색

no message

xingzai 5 달 전
부모
커밋
83982ce3fc
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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
 }