新接口获取京东门店手划范围
This commit is contained in:
@@ -808,3 +808,20 @@ func (c *StoreController) GetNearSupplyGoodsStoreByStoreID() {
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 获取京东门店手动划的配送范围面积
|
||||
// @Description 获取京东门店手动划的配送范围面积
|
||||
// @Param token header string true "认证token"
|
||||
// @Param storeIDs query int true "门店IDs"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /GetJdDeliveryArea [get]
|
||||
func (c *StoreController) GetJdDeliveryArea() {
|
||||
var storeIDs []int
|
||||
c.callGetJdDeliveryArea(func(params *tStoreGetJdDeliveryAreaParams) (retVal interface{}, errCode string, err error) {
|
||||
if jxutils.Strings2Objs(params.StoreIDs, &storeIDs); err == nil {
|
||||
err = cms.GetJdDeliveryArea(params.Ctx, storeIDs)
|
||||
}
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user