mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 20:33:26 +08:00
【调整】重写拼团前端列表,拼团详情,拼团首页组件,拼团海报等数据获取规则,减少不必要的数据查询,增加redis缓存,提升访问速度,调整拼团海报为新海报模式。
【优化】优化分享识别跳转页面【jump】代码。
This commit is contained in:
@@ -19,9 +19,15 @@ namespace CoreCms.Net.IServices
|
||||
public interface ICoreCmsPinTuanGoodsServices : IBaseServices<CoreCmsPinTuanGoods>
|
||||
{
|
||||
/// <summary>
|
||||
/// 取拼团的商品信息,增加拼团的一些属性,会显示优惠价
|
||||
/// 取拼团的商品信息,增加拼团的一些属性,会显示优惠价
|
||||
/// </summary>
|
||||
/// <param name="pinTuanRuleInfo">拼团规则</param>
|
||||
/// <param name="goodsId">商品id</param>
|
||||
/// <param name="userId">用户序列</param>
|
||||
/// <param name="needRecord">获取拼团记录</param>
|
||||
/// <param name="needCheckStock">校验库存</param>
|
||||
/// <param name="needGoodSku">获取商品sku</param>
|
||||
/// <returns></returns>
|
||||
Task<CoreCmsGoods> GetGoodsInfo(int id, int userId, int pinTuanStatus = 0);
|
||||
Task<CoreCmsGoods> GetGoodsInfo(CoreCmsPinTuanRule pinTuanRuleInfo, int goodsId, int userId, bool needRecord, bool needCheckStock, bool needGoodSku);
|
||||
}
|
||||
}
|
||||
@@ -37,7 +37,7 @@ namespace CoreCms.Net.IServices
|
||||
/// 接口上获取拼团所有商品
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
Task<WebApiCallBack> GetPinTuanList(int id = 0, int userId = 0);
|
||||
Task<WebApiCallBack> GetPinTuanList(int userId = 0);
|
||||
|
||||
|
||||
/// <summary>
|
||||
@@ -55,10 +55,10 @@ namespace CoreCms.Net.IServices
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 根据商品id获取拼团规则信息
|
||||
/// 根据规则Id获取拼团相关信息
|
||||
/// </summary>
|
||||
/// <param name="goodId"></param>
|
||||
/// <param name="ruleId">规则序列</param>
|
||||
/// <returns></returns>
|
||||
Task<TagPinTuanResult> GetPinTuanInfo(int goodId);
|
||||
Task<TagPinTuanResult> GetPinTuanInfo(int ruleId);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user