1
This commit is contained in:
@@ -6279,6 +6279,7 @@ func SetStoreAutoCallRider(vendorOrgCode string, openIDs, closeIDs []int64) (str
|
|||||||
type MtRelInfo struct {
|
type MtRelInfo struct {
|
||||||
PoiCode string `json:"poi_code"`
|
PoiCode string `json:"poi_code"`
|
||||||
PicUrl string `json:"pic_url"`
|
PicUrl string `json:"pic_url"`
|
||||||
|
Address string `json:"address"`
|
||||||
}
|
}
|
||||||
|
|
||||||
//[]{PoiCode:"16594433",PicUrl:"http://p0.meituan.net/business/e23d337029fcf74f5a7bcea4e01dac98219292.jpg"}
|
//[]{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 {
|
for _, v := range relInfo {
|
||||||
param := map[string]interface{}{
|
param := map[string]interface{}{
|
||||||
"pic_url": v.PicUrl,
|
"pic_url": v.PicUrl,
|
||||||
|
"address": v.Address,
|
||||||
}
|
}
|
||||||
storeDetail, err1 := dao.GetStoreDetailForDD(dao.GetDB(), 0, model.VendorIDMTWM, v.PoiCode, "")
|
storeDetail, err1 := dao.GetStoreDetailForDD(dao.GetDB(), 0, model.VendorIDMTWM, v.PoiCode, "")
|
||||||
if err1 != nil {
|
if err1 != nil {
|
||||||
|
|||||||
@@ -613,7 +613,6 @@ func (c *StoreController) GetStoreListByLocation() {
|
|||||||
|
|
||||||
// @Title 根据位置得到首页商店详细信息
|
// @Title 根据位置得到首页商店详细信息
|
||||||
// @Description 根据位置得到首页商店详细信息
|
// @Description 根据位置得到首页商店详细信息
|
||||||
// @Param token header string false "认证token"
|
|
||||||
// @Param lng query float64 true "经度"
|
// @Param lng query float64 true "经度"
|
||||||
// @Param lat query float64 true "纬度"
|
// @Param lat query float64 true "纬度"
|
||||||
// @Param needWalkDistance query bool false "是否需要返回步行距离(且以步行距离排序)"
|
// @Param needWalkDistance query bool false "是否需要返回步行距离(且以步行距离排序)"
|
||||||
|
|||||||
Reference in New Issue
Block a user