This commit is contained in:
richboo111
2023-07-31 17:36:43 +08:00
parent c9a8e9e265
commit 674c80eebe
2 changed files with 2 additions and 1 deletions

View File

@@ -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 {

View File

@@ -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 "是否需要返回步行距离(且以步行距离排序)"