|
@@ -75,7 +75,7 @@ func (l *InfoDetailLogic) InfoDetail(in *manager.InfoDetailReq) (*manager.InfoDe
|
|
|
infoData.JyPublishingMedia = common.Int64All(data["publishing_media"])
|
|
|
infoData.RecommendedService = common.Int64All(data["recommended_service"])
|
|
|
deliveryAddress := common.StringToMap(common.InterfaceToStr(data["deliveryAddress"]))
|
|
|
- infoData.DeliveryAddress = fmt.Sprintf(`%s%s%s%s`, deliveryAddress["area"], deliveryAddress["city"], deliveryAddress["districts"], deliveryAddress["detailsAddr"])
|
|
|
+ infoData.DeliveryAddress = fmt.Sprintf(`%s%s%s%s`, common.InterfaceToStr(deliveryAddress["area"]), common.InterfaceToStr(deliveryAddress["city"]), common.InterfaceToStr(deliveryAddress["districts"]), common.InterfaceToStr(deliveryAddress["detailsAddr"]))
|
|
|
if data["related_id"] != nil && common.IntAll(data["related_id"]) != 0 {
|
|
|
related.Id = se.SE.EncodeString(common.InterfaceToStr(data["related_id"])) //关联信息id加密
|
|
|
related.Title = common.InterfaceToStr(data["relatedTitle"])
|