Merge branch 'jdshop' of e.coding.net:rosydev/jx-callback into jdshop
This commit is contained in:
@@ -1508,11 +1508,19 @@ 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 payload formData string true "json数据,[]string对象"
|
||||
// @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) (retVal interface{}, errCode string, err error) {
|
||||
payload := make(map[string]map[int64]string)
|
||||
if err = utils.UnmarshalUseNumber([]byte(params.Payload), &payload); err == nil {
|
||||
retVal, err = cms.AssistCreateFence(payload)
|
||||
}
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user