获取各平台未营业门店
This commit is contained in:
@@ -562,3 +562,22 @@ func (c *StoreController) JdStoreInfoCoordinateRecover() {
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 导出平台门店信息
|
||||
// @Description 导出平台门店信息
|
||||
// @Param token header string true "认证token"
|
||||
// @Param vendorIDs formData string true "平台ID列表"
|
||||
// @Param isAsync formData bool false "是否异步操作"
|
||||
// @Param isContinueWhenError formData bool false "单个同步失败是否继续,缺省false"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /GetVendorStoreInfo [post]
|
||||
func (c *StoreController) GetVendorStoreInfo() {
|
||||
var vendorIDList []int
|
||||
c.callGetVendorStoreInfo(func(params *tStoreGetVendorStoreInfoParams) (retVal interface{}, errCode string, err error) {
|
||||
if err = jxutils.Strings2Objs(params.VendorIDs, &vendorIDList); err == nil {
|
||||
retVal, err = cms.GetVendorStoreInfo(params.Ctx, vendorIDList, params.IsAsync, params.IsContinueWhenError)
|
||||
}
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user