测试门店营业时间列表

This commit is contained in:
苏尹岚
2020-03-03 11:26:03 +08:00
parent afb98e055c
commit 43e0708f0e
2 changed files with 7 additions and 6 deletions

View File

@@ -61,16 +61,17 @@ func (c *JxOrderController) BuyerCancelOrder() {
})
}
// @Title 查询网络打印机状态
// @Description 查询网络打印机状态
// @Title 得到门店营业时间配送列表
// @Description 得到门店营业时间配送列表
// @Param token header string true "认证token"
// @Param storeID query int true "门店ID"
// @Param timeStr query string true "时间点"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /GetAvailableDeliverTime [get]
func (c *JxOrderController) GetAvailableDeliverTime() {
c.callGetAvailableDeliverTime(func(params *tJxorderGetAvailableDeliverTimeParams) (retVal interface{}, errCode string, err error) {
retVal, err = localjx.GetAvailableDeliverTime(params.Ctx, params.StoreID)
retVal, err = localjx.GetAvailableDeliverTime(params.Ctx, params.StoreID, params.TimeStr)
return retVal, "", err
})
}