瀏覽代碼

fenzhihebing

luwenna 3 年之前
父節點
當前提交
37299e3958
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/jfw/modules/weixin/src/wx/wx.go

+ 3 - 0
src/jfw/modules/weixin/src/wx/wx.go

@@ -618,6 +618,9 @@ func saveUser(u *UserInfo, source, pre, RSource, CSource string) (bool, string,
 				set["o_jy.i_ratemode"] = 2
 			}
 			update["$set"] = set
+			update["$unset"] = map[string]interface{}{
+				"i_isnewwx": "",
+			}
 			tools.MQFW.Update("user", &map[string]interface{}{
 				"_id": tuser["_id"],
 			}, &update, false, false)