获取各平台未营业门店
This commit is contained in:
@@ -562,3 +562,22 @@ func (c *StoreController) JdStoreInfoCoordinateRecover() {
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 导出平台门店信息
|
||||
// @Description 导出平台门店信息
|
||||
// @Param token header string true "认证token"
|
||||
// @Param vendorIDs formData string true "平台ID列表"
|
||||
// @Param isAsync formData bool false "是否异步操作"
|
||||
// @Param isContinueWhenError formData bool false "单个同步失败是否继续,缺省false"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /GetVendorStoreInfo [post]
|
||||
func (c *StoreController) GetVendorStoreInfo() {
|
||||
var vendorIDList []int
|
||||
c.callGetVendorStoreInfo(func(params *tStoreGetVendorStoreInfoParams) (retVal interface{}, errCode string, err error) {
|
||||
if err = jxutils.Strings2Objs(params.VendorIDs, &vendorIDList); err == nil {
|
||||
retVal, err = cms.GetVendorStoreInfo(params.Ctx, vendorIDList, params.IsAsync, params.IsContinueWhenError)
|
||||
}
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
@@ -48,3 +48,21 @@ func (c *ReportController) StatisticsReportForAfsOrders() {
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 查询京西门店商品价格统计相关信息
|
||||
// @Description 查询京西门店商品价格统计相关信息
|
||||
// @Param token header string true "认证token"
|
||||
// @Param cityCodes formData string true "城市ID列表[1,2,3]"
|
||||
// @Param skuIDs formData string true "skuID列表[1,2,3]"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /StatisticsReportForStoreSkusPrice [post]
|
||||
func (c *ReportController) StatisticsReportForStoreSkusPrice() {
|
||||
c.callStatisticsReportForStoreSkusPrice(func(params *tReportStatisticsReportForStoreSkusPriceParams) (retVal interface{}, errCode string, err error) {
|
||||
var cityCodeList, skuIDList []int
|
||||
if err = jxutils.Strings2Objs(params.CityCodes, &cityCodeList, params.SkuIDs, &skuIDList); err == nil {
|
||||
err = report.StatisticsReportForStoreSkusPrice(params.Ctx, cityCodeList, skuIDList)
|
||||
}
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user