- DeleteStore

This commit is contained in:
gazebo
2019-01-07 11:47:44 +08:00
parent 699c8c1ea4
commit 38ae3e16d6
3 changed files with 71 additions and 2 deletions

View File

@@ -71,6 +71,20 @@ func (c *StoreController) UpdateStore() {
})
}
// @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 /DeleteStore [delete]
func (c *StoreController) DeleteStore() {
c.callDeleteStore(func(params *tStoreDeleteStoreParams) (retVal interface{}, errCode string, err error) {
retVal, err = cms.DeleteStore(params.Ctx, params.StoreID)
return retVal, "", err
})
}
// @Title 创建京西门店
// @Description 创建京西门店
// @Param token header string true "认证token"