门店促销

This commit is contained in:
苏尹岚
2019-12-26 09:05:19 +08:00
parent 11310fc16d
commit 90cbc5c81f
4 changed files with 15 additions and 15 deletions

View File

@@ -593,9 +593,7 @@ func (c *StoreController) GetVendorStoreInfo() {
// @Param snapDate formData string true "时间默认前一天格式2006-01-02"
// @Param fromScore formData int false "分数范围开始 默认0"
// @Param toScore formData int false "分数范围结束 默认100"
// @Param sort formData int false "分数排序,默认降序0为降序,1为升序,-1为忽略"
// @Param directSort formData int false "直降排序默认降序0为降序1为升序,-1为忽略"
// @Param secKillSort formData int false "秒杀排序默认降序0为降序1为升序,-1为忽略"
// @Param sort formData int false "分数排序,-1降序-升序 ,直降排序,-2降序,2升序,秒杀排序,-3降序3升序"
// @Param offset formData int false "门店列表起始序号以0开始缺省为0"
// @Param pageSize formData int false "门店列表页大小缺省为50-1表示全部"
// @Success 200 {object} controllers.CallResult
@@ -605,7 +603,7 @@ func (c *StoreController) GetStorePriceScore() {
var storeIDList, vendorIDList []int
c.callGetStorePriceScore(func(params *tStoreGetStorePriceScoreParams) (retVal interface{}, errCode string, err error) {
if jxutils.Strings2Objs(params.StoreIDs, &storeIDList, params.VendorIDs, &vendorIDList); err == nil {
retVal, err = cms.GetStorePriceScore(params.Ctx, storeIDList, vendorIDList, params.FromScore, params.ToScore, params.Sort, params.DirectSort, params.SecKillSort, params.SnapDate, params.Offset, params.PageSize)
retVal, err = cms.GetStorePriceScore(params.Ctx, storeIDList, vendorIDList, params.FromScore, params.ToScore, params.Sort, params.SnapDate, params.Offset, params.PageSize)
}
return retVal, "", err
})