...
|
...
|
@@ -32,8 +32,16 @@ function excludeParams(groupParams, needGender=true){ |
|
|
|
|
|
function joinWxProgramPath(wxPath, groupParams){
|
|
|
let params = excludeParams(groupParams, false);
|
|
|
|
|
|
let paramStr = "";
|
|
|
for(let key in params){
|
|
|
wxPath = wxPath + "&" + key + "=" + params[key];
|
|
|
paramStr = paramStr + "&" + key + "=" + params[key];
|
|
|
}
|
|
|
|
|
|
if(wxPath.indexOf("?") != -1){
|
|
|
wxPath = wxPath + paramStr;
|
|
|
}else{
|
|
|
wxPath = wxPath + "?" + paramStr.substring(1);
|
|
|
}
|
|
|
return wxPath;
|
|
|
}
|
...
|
...
|
|