Jelajahi Sumber

Merge branch 'cygx_12.2' of http://8.136.199.33:3000/hongze/hongze_cygx into debug

xingzai 1 tahun lalu
induk
melakukan
204fc91624
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      models/wx_template_msg.go

+ 1 - 1
models/wx_template_msg.go

@@ -37,7 +37,7 @@ func GetWxOpenIdByMobileList(mobile string) (items []*OpenIdList, err error) {
 	//		WHERE bind_account IN (` + mobile + `) AND create_platform = 4`
 
 	sql := ` SELECT
-				union_id,
+				union_id,open_id,
 				cygx_user_id AS user_id
 				FROM cygx_user_record	WHERE	1 = 1	AND cygx_bind_account IN (` + mobile + `)`
 	_, err = orm.NewOrm().Raw(sql).QueryRows(&items)