|
@@ -76,7 +76,7 @@ namespace MySystem.Areas.Api.Controllers.v1
|
|
|
curData.Add("MerchantShortName", dr["MerchantShortname"].ToString()); //商户简称
|
|
|
curData.Add("BusinessName", dr["BusinessName"].ToString()); //经营类型
|
|
|
curData.Add("StoreEntrancePic", StoreEntrancePic[0]); //门店门头照片
|
|
|
- curData.Add("BizStoreAddress", dr["Areas"].ToString() + dr["Address"].ToString()); //门店地址
|
|
|
+ curData.Add("BizStoreAddress", (dr["Areas"].ToString() + dr["Address"].ToString()).Replace(",", "")); //门店地址
|
|
|
curData.Add("Popularity", dr["Popularity"].ToString()); //人气值
|
|
|
curData.Add("Distance", decimal.Parse(dr["distance"].ToString()).ToString("F2")); //距离
|
|
|
dataList.Add(curData);
|
|
@@ -123,13 +123,13 @@ namespace MySystem.Areas.Api.Controllers.v1
|
|
|
Obj.Add("MerchantShortName", merAddInfo.MerchantShortname); //商户简称
|
|
|
Obj.Add("Popularity", merInfo.Popularity); //人气值
|
|
|
Obj.Add("BusinessName", BusinessName); //经营类型
|
|
|
- Obj.Add("BusinessHours", merInfo.BusinessHours == null ? "周一至周五 09:00-22:00" : "周一至周五 09:00 - 22:00"); //营业时间
|
|
|
+ Obj.Add("BusinessHours", merInfo.BusinessHours == null ? "周一至周日 09:00-22:00" : "周一至周日 09:00 - 22:00"); //营业时间
|
|
|
Obj.Add("MerchantMobile", merInfo.Mobile); //商户电话
|
|
|
Obj.Add("Introduction", merInfo.BriefIntroduction == null ? "暂无信息" : "暂无信息"); //商户简介
|
|
|
Obj.Add("Longitude", merInfo.Longitude); //经度
|
|
|
Obj.Add("Latitude", merInfo.Latitude); //纬度
|
|
|
Obj.Add("StoreEntrancePic", Atlas[0]); //门店门头照片
|
|
|
- Obj.Add("BizStoreAddress", merInfo.Areas + merInfo.Address); //门店地址
|
|
|
+ Obj.Add("BizStoreAddress", (merInfo.Areas + merInfo.Address).Replace(",", "")); //门店地址
|
|
|
}
|
|
|
if (Kind == 2)
|
|
|
{
|
|
@@ -150,13 +150,13 @@ namespace MySystem.Areas.Api.Controllers.v1
|
|
|
Obj.Add("MerchantShortName", merAddInfo.MerchantShortname); //商户简称
|
|
|
Obj.Add("Popularity", merInfo.Popularity); //人气值
|
|
|
Obj.Add("BusinessName", BusinessName); //经营类型
|
|
|
- Obj.Add("BusinessHours", merInfo.BusinessHours == null ? "周一至周五 09:00-22:00" : "周一至周五 09:00 - 22:00"); //营业时间
|
|
|
+ Obj.Add("BusinessHours", merInfo.BusinessHours == null ? "周一至周日 09:00-22:00" : "周一至周日 09:00 - 22:00"); //营业时间
|
|
|
Obj.Add("MerchantMobile", merInfo.Mobile); //商户电话
|
|
|
Obj.Add("Introduction", merInfo.BriefIntroduction == null ? "暂无信息" : "暂无信息"); //商户简介
|
|
|
Obj.Add("Longitude", merInfo.Longitude); //经度
|
|
|
Obj.Add("Latitude", merInfo.Latitude); //纬度
|
|
|
Obj.Add("StoreEntrancePic", Atlas[0]); //门店门头照片
|
|
|
- Obj.Add("BizStoreAddress", merInfo.Areas + merInfo.Address); //门店地址
|
|
|
+ Obj.Add("BizStoreAddress", (merInfo.Areas + merInfo.Address).Replace(",", "")); //门店地址
|
|
|
}
|
|
|
|
|
|
return Obj;
|