Jelajahi Sumber

Merge branch 'dev/v4.8.72_zxl' of qmx/jy into feature/v4.8.72

zhangxinlei1996 1 tahun lalu
induk
melakukan
a986ef15d7
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      src/jfw/modules/weixin/src/wx/wx.go

+ 1 - 1
src/jfw/modules/weixin/src/wx/wx.go

@@ -954,7 +954,7 @@ func WxBind(code, openId string, w ResponseWriter, newUnionId string) bool {
 	nsq_topic, _ := config.Sysconfig["nsq_topic"].(string)
 	userId := ""
 	unionid := ""
-	m, b := tools.MQFW.Find("user", `{"s_unionid":"`+newUnionId+`","i_appid":2}`, nil, `{"_id":1,"s_m_phone":1,"s_phone":1}`, false, -1, -1)
+	m, b := tools.MQFW.Find("user", `{"s_unionid":"`+newUnionId+`","i_appid":2}`, nil, `{"_id":1,"s_m_phone":1,"s_phone":1,"base_user_id":1}`, false, -1, -1)
 	if len(*m) == 0 {
 		if len(bindUnionid) > 11 {
 			log.Println("对不起,微信绑定失败,请使用原微信绑定账号扫码关注")