Commit e9faef41 by 田超

Merge branch 'appshare' into 'master'

feat:[none]新增cookie key定义

See merge request rays/pcloud-common-parent!244
parents 980f3f5b 8d86e5da
...@@ -117,6 +117,10 @@ public class Cookie { ...@@ -117,6 +117,10 @@ public class Cookie {
* 微信群ID * 微信群ID
*/ */
public static final String QRCODE_ID = "qrcodeId"; public static final String QRCODE_ID = "qrcodeId";
/**
* 传播类型
*/
public static final String SPREAD_TYPE = "spreadType";
public static final String MAIN_USER_ID = "mainUserId"; public static final String MAIN_USER_ID = "mainUserId";
...@@ -236,6 +240,11 @@ public class Cookie { ...@@ -236,6 +240,11 @@ public class Cookie {
String code = sourceType[sourceType.length - 1]; String code = sourceType[sourceType.length - 1];
userInfos.put(SOURCE_TYPE, code); userInfos.put(SOURCE_TYPE, code);
} }
if (userInfoArry[i].contains(SPREAD_TYPE)) {
String[] tmp = userInfoArry[i].split("=");
String val = tmp[tmp.length - 1];
userInfos.put(SPREAD_TYPE, val);
}
//add by tc //add by tc
if (userInfoArry[i].contains(FIRST_TD)) { if (userInfoArry[i].contains(FIRST_TD)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment