From 674c80eebea4e223698c31c974a7674d9c312d5c Mon Sep 17 00:00:00 2001 From: richboo111 Date: Mon, 31 Jul 2023 17:36:43 +0800 Subject: [PATCH] 1 --- business/jxstore/cms/store.go | 2 ++ controllers/cms_store.go | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/business/jxstore/cms/store.go b/business/jxstore/cms/store.go index 2b06282d1..fd6158def 100644 --- a/business/jxstore/cms/store.go +++ b/business/jxstore/cms/store.go @@ -6279,6 +6279,7 @@ func SetStoreAutoCallRider(vendorOrgCode string, openIDs, closeIDs []int64) (str type MtRelInfo struct { PoiCode string `json:"poi_code"` PicUrl string `json:"pic_url"` + Address string `json:"address"` } //[]{PoiCode:"16594433",PicUrl:"http://p0.meituan.net/business/e23d337029fcf74f5a7bcea4e01dac98219292.jpg"} @@ -6307,6 +6308,7 @@ func BatchUpdateMTStoreLogos(vendorOrgCode string, relInfo []MtRelInfo) (hint st for _, v := range relInfo { param := map[string]interface{}{ "pic_url": v.PicUrl, + "address": v.Address, } storeDetail, err1 := dao.GetStoreDetailForDD(dao.GetDB(), 0, model.VendorIDMTWM, v.PoiCode, "") if err1 != nil { diff --git a/controllers/cms_store.go b/controllers/cms_store.go index edf90c70e..c1fb4c2c1 100644 --- a/controllers/cms_store.go +++ b/controllers/cms_store.go @@ -613,7 +613,6 @@ func (c *StoreController) GetStoreListByLocation() { // @Title 根据位置得到首页商店详细信息 // @Description 根据位置得到首页商店详细信息 -// @Param token header string false "认证token" // @Param lng query float64 true "经度" // @Param lat query float64 true "纬度" // @Param needWalkDistance query bool false "是否需要返回步行距离(且以步行距离排序)"