Browse Source

微信用户 订阅向导1

wangshan 4 năm trước cách đây
mục cha
commit
8ef434c7b1
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 2
      src/jfw/modules/weixin/src/wx/wx.go

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

@@ -1232,12 +1232,11 @@ func ScanHandler(w ResponseWriter, r *Request) {
 							pcresult = "vipsubscribe##reply"
 						}
 					}
-
 				} else {
 					pcUser, pcresult, subkey = pcSetUserKeys(*m, r.EventKey, pccodepre)
 					i_ts_guide := util.IntAll((*m)["i_ts_guide"])
 					//有关键词 切是在订阅设置页面扫码 订阅向导未关闭(=2) 扫码订阅后 关闭订阅向导(=1)
-					if i_ts_guide == 0 || (i_ts_guide == 2 && subkey != "" && pccodepre == "12") {
+					if i_ts_guide == 0 || (i_ts_guide == 2 && subkey != "") {
 						i_ts_guide = 1
 					}
 					go tools.MQFW.Update("user", &map[string]interface{}{