diff --git a/business/jxstore/cms/store.go b/business/jxstore/cms/store.go index 278d44236..710ec1e66 100644 --- a/business/jxstore/cms/store.go +++ b/business/jxstore/cms/store.go @@ -2395,7 +2395,7 @@ func GetVendorStoreInfo(ctx *jxcontext.Context, vendorIDList []int, isAsync, isC if storeDetail.Status != model.StoreStatusOpened { if storeDetail2 != nil { var storeExcel = VendorStoreExcel{ - StoreID: storeDetail.ID, + StoreID: storeDetail2.ID, VendorStoreName: storeDetail.Name, Tel1: storeDetail.Tel1, Tel2: storeDetail.Tel2, diff --git a/controllers/cms_store.go b/controllers/cms_store.go index 5ceb739f4..01a583c86 100644 --- a/controllers/cms_store.go +++ b/controllers/cms_store.go @@ -176,7 +176,7 @@ func (c *StoreController) UpdateStoreVendorMap() { // @Description 新增门店映射信息 // @Param token header string true "认证token" // @Param storeID formData int true "门店ID,payload中的相应字段会被忽略" -// @Param vendorID formData int false "厂商ID,payload中的相应字段会被忽略" +// @Param vendorID formData int true "厂商ID,payload中的相应字段会被忽略" // @Param vendorOrgCode formData string false "厂商内组织代码" // @Param payload formData string true "json数据,storeMap对象({'vendorStoreID':'11732425','autoPickup':1,'deliveryCompetition':1, 'pricePercentage':100})" // @Success 200 {object} controllers.CallResult