mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 18:03:27 +08:00
【新增】新增微信扫码支付功能,对接PC端。
【新增】增加DTO类库,将逐步完善dto层。 【修复】修复【分类】切换后,切换回来未清零原始数据,导致更新数据重复的问题。 【调整】移除模板库功能,防止出现审核因为模板库页面存在而导致的审核失败。暂将模板库的代码存放到会员QQ群内,方便下载使用。 【调整】代码生成器【Repository.tpl】移除Cache手动增删改,【SqlSugarSetup】增加sqlsugar自动检测增删改后清理二级缓存。 【调整】后端新增秒杀独立组件,用于区分团购及秒杀的差异,首页新增秒杀组件。 【优化】重写首页所有组件样式及接口数据获取效率。 【优化】优化拼团,秒杀,团购,接龙数据获取逻辑,提升列表及详情页面数据获取效率。 【优化】调整拼团,秒杀,团购,服务商品推广海报为新式海报效果。增加服务商品推广海报。 【优化】清理h5相关代码判断,移除h5支付组件,提高响应速度。 【优化】移除小程序前端冗余代码。加快代码执行效率。
This commit is contained in:
@@ -532,9 +532,9 @@ namespace CoreCms.Net.Services
|
||||
}
|
||||
break;
|
||||
case (int)GlobalEnumVars.UrlSharePageType.PinTuan:
|
||||
if (parameter.ContainsKey("goodsId") && parameter.ContainsKey("teamId") && parameter.ContainsKey("groupId"))
|
||||
if (parameter.ContainsKey("teamId") && parameter.ContainsKey("groupId"))
|
||||
{
|
||||
str = parameter["goodsId"] + "_" + parameter["groupId"] + "_" + parameter["teamId"];
|
||||
str = parameter["groupId"] + "_" + parameter["teamId"];
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -565,9 +565,9 @@ namespace CoreCms.Net.Services
|
||||
}
|
||||
break;
|
||||
case (int)GlobalEnumVars.UrlSharePageType.AddPinTuan:
|
||||
if (parameter.ContainsKey("goodsId") && parameter.ContainsKey("groupId") && parameter.ContainsKey("teamId"))
|
||||
if (parameter.ContainsKey("groupId") && parameter.ContainsKey("teamId"))
|
||||
{
|
||||
str = parameter["goodsId"] + "_" + parameter["groupId"] + "_" + parameter["teamId"];
|
||||
str = parameter["groupId"] + "_" + parameter["teamId"];
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -598,24 +598,24 @@ namespace CoreCms.Net.Services
|
||||
}
|
||||
break;
|
||||
case (int)GlobalEnumVars.UrlSharePageType.Group:
|
||||
if (parameter.ContainsKey("goodsId") || parameter.ContainsKey("groupId"))
|
||||
if (parameter.ContainsKey("groupId"))
|
||||
{
|
||||
str = parameter["goodsId"] + "_" + parameter["groupId"];
|
||||
str = parameter["groupId"].ToString();
|
||||
}
|
||||
else
|
||||
{
|
||||
jm.msg = "参数必须传goodsId,groupId";
|
||||
jm.msg = "参数必须传groupId";
|
||||
return jm;
|
||||
}
|
||||
break;
|
||||
case (int)GlobalEnumVars.UrlSharePageType.Seckill:
|
||||
if (parameter.ContainsKey("goodsId") || parameter.ContainsKey("groupId"))
|
||||
if (parameter.ContainsKey("groupId"))
|
||||
{
|
||||
str = parameter["goodsId"] + "_" + parameter["groupId"];
|
||||
str = parameter["groupId"].ToString();
|
||||
}
|
||||
else
|
||||
{
|
||||
jm.msg = "参数必须传goodsId,groupId";
|
||||
jm.msg = "参数必须传groupId";
|
||||
return jm;
|
||||
}
|
||||
break;
|
||||
@@ -641,6 +641,17 @@ namespace CoreCms.Net.Services
|
||||
return jm;
|
||||
}
|
||||
break;
|
||||
case (int)GlobalEnumVars.UrlSharePageType.ServiceGoods:
|
||||
if (parameter.ContainsKey("serviceGoodsId"))
|
||||
{
|
||||
str = parameter["serviceGoodsId"]?.ToString();
|
||||
}
|
||||
else
|
||||
{
|
||||
jm.msg = "参数必须传id";
|
||||
return jm;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
jm.msg = GlobalErrorCodeVars.Code10000;
|
||||
return jm;
|
||||
@@ -682,9 +693,8 @@ namespace CoreCms.Net.Services
|
||||
{
|
||||
jm.data = new
|
||||
{
|
||||
goodsId = arr[0],
|
||||
groupId = arr[1],
|
||||
teamId = arr[2]
|
||||
groupId = arr[0],
|
||||
teamId = arr[1]
|
||||
};
|
||||
jm.status = true;
|
||||
}
|
||||
@@ -712,9 +722,8 @@ namespace CoreCms.Net.Services
|
||||
{
|
||||
jm.data = new
|
||||
{
|
||||
goodsId = arr[0],
|
||||
groupId = arr[1],
|
||||
teamId = arr[2]
|
||||
groupId = arr[0],
|
||||
teamId = arr[1]
|
||||
};
|
||||
jm.status = true;
|
||||
}
|
||||
@@ -734,23 +743,21 @@ namespace CoreCms.Net.Services
|
||||
}
|
||||
break;
|
||||
case (int)GlobalEnumVars.UrlSharePageType.Group:
|
||||
if (arr.Length == 2)
|
||||
if (arr.Length == 1)
|
||||
{
|
||||
jm.data = new
|
||||
{
|
||||
goodsId = arr[0],
|
||||
groupId = arr[1],
|
||||
groupId = arr[0],
|
||||
};
|
||||
jm.status = true;
|
||||
}
|
||||
break;
|
||||
case (int)GlobalEnumVars.UrlSharePageType.Seckill:
|
||||
if (arr.Length == 2)
|
||||
if (arr.Length == 1)
|
||||
{
|
||||
jm.data = new
|
||||
{
|
||||
goodsId = arr[0],
|
||||
groupId = arr[1],
|
||||
groupId = arr[0],
|
||||
};
|
||||
jm.status = true;
|
||||
}
|
||||
@@ -769,6 +776,13 @@ namespace CoreCms.Net.Services
|
||||
jm.status = true;
|
||||
}
|
||||
break;
|
||||
case (int)GlobalEnumVars.UrlSharePageType.ServiceGoods:
|
||||
if (arr.Length == 1)
|
||||
{
|
||||
jm.data = new { serviceGoodsId = arr[0] };
|
||||
jm.status = true;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
jm.msg = GlobalErrorCodeVars.Code10000;
|
||||
return jm;
|
||||
|
||||
Reference in New Issue
Block a user