|
@@ -134,12 +134,13 @@ func (f *Front) Lpsubmit() error {
|
|
|
}
|
|
|
data := map[string]interface{}{
|
|
|
//"i_type": 1, //手机注册
|
|
|
- "i_appid": 2,
|
|
|
- "i_ispush": 1,
|
|
|
- "s_unique": phoneNum,
|
|
|
- "s_phone": phoneNum,
|
|
|
- "s_source": "landPage",
|
|
|
- "s_rsource": source,
|
|
|
+ "i_appid": 2,
|
|
|
+ "i_ispush": 1,
|
|
|
+ "s_unique": phoneNum,
|
|
|
+ "s_phone": phoneNum,
|
|
|
+ "s_source": "landPage",
|
|
|
+ "s_rsource": gconv.String(util.If(source != "", source,
|
|
|
+ f.GetSession("RSource"))),
|
|
|
"s_extcode": s_extcode,
|
|
|
"l_registedate": time.Now().Unix(),
|
|
|
"i_ts_guide": 2,
|