Browse Source

no message

xingzai 4 tháng trước cách đây
mục cha
commit
81b7180037
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      models/wx_template_msg.go

+ 1 - 1
models/wx_template_msg.go

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