- EnableHaveRestStores
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user