+GetAvailableDeliverTime

This commit is contained in:
gazebo
2019-11-26 16:16:54 +08:00
parent d0f59c3f4b
commit 2d1bfa4c1e
5 changed files with 127 additions and 6 deletions

View File

@@ -44,3 +44,17 @@ func (c *JxOrderController) Pay4Order() {
return retVal, "", err
})
}
// @Title 查询网络打印机状态
// @Description 查询网络打印机状态
// @Param token header string true "认证token"
// @Param storeID query int true "门店ID"
// @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)
return retVal, "", err
})
}