WH01243 3 månader sedan
förälder
incheckning
75a7c6a5cd
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. 2 1
      common/src/qfw/util/jy/subScribe.go

+ 2 - 1
common/src/qfw/util/jy/subScribe.go

@@ -160,7 +160,7 @@ func format(data *map[string]interface{}) *map[string]interface{} {
 }
 
 // 用户注册日志保存
-func SaveUserLog(mg mongodb.MongodbSim, userid, phone, way, system, source, openid, search_engine, promotion, ip, user_agent, site, event string, referer string, others ...map[string]interface{}) {
+func SaveUserLog(mg mongodb.MongodbSim, userid, phone, way, system, source, openid, search_engine, promotion, ip, user_agent, site, event, referer, code string, others ...map[string]interface{}) {
 	data := map[string]interface{}{
 		"userid":        userid,
 		"phone":         phone,
@@ -176,6 +176,7 @@ func SaveUserLog(mg mongodb.MongodbSim, userid, phone, way, system, source, open
 		"site":          site,
 		"event":         event,
 		"referer":       referer,
+		"code":          code,
 	}
 	if len(others) > 0 {
 		for k, v := range others[0] {