- EnableHaveRestStores

This commit is contained in:
gazebo
2019-06-03 17:42:23 +08:00
parent c7d472830f
commit 7618930106
4 changed files with 65 additions and 3 deletions

View File

@@ -89,6 +89,21 @@ func (c *StoreController) DeleteStore() {
})
}
// @Title 启用所有临时休息门店
// @Description 启用所有临时休息门店
// @Param token header string true "认证token"
// @Param isAsync formData bool true "是否异步操作"
// @Param isContinueWhenError formData bool false "单个同步失败是否继续缺省false"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /EnableHaveRestStores [put]
func (c *StoreController) EnableHaveRestStores() {
c.callEnableHaveRestStores(func(params *tStoreEnableHaveRestStoresParams) (retVal interface{}, errCode string, err error) {
retVal, err = cms.EnableHaveRestStores(params.Ctx, params.IsAsync, params.IsContinueWhenError)
return retVal, "", err
})
}
// @Title 创建京西门店
// @Description 创建京西门店
// @Param token header string true "认证token"