mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2026-02-05 02:49:49 +08:00
【调整】重写拼团前端列表,拼团详情,拼团首页组件,拼团海报等数据获取规则,减少不必要的数据查询,增加redis缓存,提升访问速度,调整拼团海报为新海报模式。
【优化】优化分享识别跳转页面【jump】代码。
This commit is contained in:
@@ -532,13 +532,13 @@ namespace CoreCms.Net.Services
|
||||
}
|
||||
break;
|
||||
case (int)GlobalEnumVars.UrlSharePageType.PinTuan:
|
||||
if (parameter.ContainsKey("goodsId") || parameter.ContainsKey("teamId"))
|
||||
if (parameter.ContainsKey("goodsId") && parameter.ContainsKey("teamId") && parameter.ContainsKey("groupId"))
|
||||
{
|
||||
str = parameter["goodsId"] + "_" + parameter["teamId"];
|
||||
str = parameter["goodsId"] + "_" + parameter["groupId"] + "_" + parameter["teamId"];
|
||||
}
|
||||
else
|
||||
{
|
||||
jm.msg = "参数必须传goodsId,teamId";
|
||||
jm.msg = "参数必须传goodsId,teamId,groupId";
|
||||
return jm;
|
||||
}
|
||||
break;
|
||||
@@ -565,7 +565,7 @@ namespace CoreCms.Net.Services
|
||||
}
|
||||
break;
|
||||
case (int)GlobalEnumVars.UrlSharePageType.AddPinTuan:
|
||||
if (parameter.ContainsKey("goodsId") || parameter.ContainsKey("groupId") || parameter.ContainsKey("teamId"))
|
||||
if (parameter.ContainsKey("goodsId") && parameter.ContainsKey("groupId") && parameter.ContainsKey("teamId"))
|
||||
{
|
||||
str = parameter["goodsId"] + "_" + parameter["groupId"] + "_" + parameter["teamId"];
|
||||
}
|
||||
@@ -678,27 +678,16 @@ namespace CoreCms.Net.Services
|
||||
}
|
||||
break;
|
||||
case (int)GlobalEnumVars.UrlSharePageType.PinTuan:
|
||||
//if (arr.Length == 3)
|
||||
//{
|
||||
// jm.data = new
|
||||
// {
|
||||
// goodsId = arr[0],
|
||||
// groupId = arr[1],
|
||||
// teamId = arr[2]
|
||||
// };
|
||||
// jm.status = true;
|
||||
//}
|
||||
|
||||
if (arr.Length == 2)
|
||||
if (arr.Length == 3)
|
||||
{
|
||||
jm.data = new
|
||||
{
|
||||
goodsId = arr[0],
|
||||
teamId = arr[1]
|
||||
groupId = arr[1],
|
||||
teamId = arr[2]
|
||||
};
|
||||
jm.status = true;
|
||||
}
|
||||
|
||||
break;
|
||||
case (int)GlobalEnumVars.UrlSharePageType.Inv:
|
||||
if (arr.Length == 1)
|
||||
|
||||
Reference in New Issue
Block a user