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