This commit is contained in:
richboo111
2022-10-31 14:59:58 +08:00
parent 2bd7f9aaf9
commit 8010561399
5 changed files with 67 additions and 23 deletions

View File

@@ -1492,3 +1492,18 @@ func (c *StoreController) UpdateStoreTemplate() {
return retVal, "", err
})
}
// @Title 获取抖店门店建议范围
// @Description 获取抖店门店建议范围
// @Param token header string true "认证token"
// @Param storeID query int true "门店ID"
// @Param vendorStoreID query string true "平台门店ID"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /GetDDScope [get]
func (c *StoreController) GetDDScope() {
c.callGetDDScope(func(params *tStoreGetDDScopeParams) (retVal interface{}, errCode string, err error) {
retVal, err = cms.GetDDScope(params.Ctx, params.StoreID, params.VendorStoreID)
return nil, "", nil
})
}