Переглянути джерело

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

xingzai 1 рік тому
батько
коміт
204fc91624
1 змінених файлів з 1 додано та 1 видалено
  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)