assistcreatefence

This commit is contained in:
richboo111
2022-11-18 16:35:07 +08:00
parent b44a06104d
commit 11b63862d1
4 changed files with 34 additions and 18 deletions

View File

@@ -1508,11 +1508,17 @@ func (c *StoreController) GetDDScope() {
})
}
// @Title 批量绑定抖店与京西门店
// @Description 批量绑定抖店与京西门店
// @Param token header string true "认证token"
// @Param storeID formData int true "门店ID"
// @Param vendorStoreID formData string true "平台门店ID"
// @Title 创建抖店电子围栏
// @Description 创建抖店电子围栏
// @Param token header string true "认证token"
// @Param storeID formData int true "门店ID"
// @Param vendorOrgCode formData string false "厂商内组织代码"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /BatchBindVendorStore [post]
// @router /CreateDDStoreFence [post]
func (c *StoreController) CreateDDStoreFence() {
c.callCreateDDStoreFence(func(params *tStoreCreateDDStoreFenceParams) (interface{}, string, error) {
err := cms.AssistCreateFence(params.VendorOrgCode, int64(params.StoreID))
return nil, "", err
})
}