多门店首页接口

  • 请求路径:com/SmallProgAPI/Home/GetShopsIndexData

 

  • 请求参数:

 

参数名称 必填 参数值说明 格式要求
 

 http://www.sewhandpan.cn/


http://www.nuomasilin.cn/


http://www.anlancs.com/

  • 返回值说明:Json格式
返回结果:

{"success":true,"msg":"","code":0,"data":{"QQMapKey":"SYJBZ-DSLR3-IWX3Q-3XNTM-ELURH-23FTP","TopSlide":null,"Menu":[{"Id":249,"ShopId":0,"ImageUrl":"http://localhost:4573//temp/201709121423492871660.jpg","Url":"2,http://himall2-7test.himalltest.kuaidiantong.cn/m-wap/shopbranch/index/117","DisplaySequence":23,"TypeId":14,"Description":"悦湖山"},{"Id":252,"ShopId":0,"ImageUrl":"http://localhost:4573//temp/201709121424067911390.jpg","Url":"1,http://himall2-7test.himalltest.kuaidiantong.cn/m-wap/shopbranch/tags/10","DisplaySequence":26,"TypeId":14,"Description":"香烟"},{"Id":253,"ShopId":0,"ImageUrl":"http://localhost:4573//temp/201709121424162920970.jpg","Url":"2,http://himall2-7test.himalltest.kuaidiantong.cn/m-wap/shopbranch/index/63","DisplaySequence":27,"TypeId":14,"Description":"新华"},{"Id":275,"ShopId":0,"ImageUrl":"http://localhost:4573//temp/201709121423391212000.jpg","Url":"1,http://himall2-7test.himalltest.kuaidiantong.cn/m-wap/shopbranch/tags/19","DisplaySequence":32,"TypeId":14,"Description":"yuyi"},{"Id":276,"ShopId":0,"ImageUrl":"http://localhost:4573//temp/201709121425274707980.jpg","Url":"2,http://himall2-7test.himalltest.kuaidiantong.cn/m-wap/shopbranch/index/69","DisplaySequence":33,"TypeId":14,"Description":"水果"},{"Id":277,"ShopId":0,"ImageUrl":"http://localhost:4573//temp/201709121425493116370.jpg","Url":"3,http://himall2-7test.himalltest.kuaidiantong.cn/m-wap/topic/detail/114","DisplaySequence":34,"TypeId":14,"Description":"粮油"},{"Id":278,"ShopId":0,"ImageUrl":"http://localhost:4573//temp/201709121427346593050.jpg","Url":"1,http://himall2-7test.himalltest.kuaidiantong.cn/m-wap/shopbranch/tags/6","DisplaySequence":35,"TypeId":14,"Description":"水果1"},{"Id":284,"ShopId":0,"ImageUrl":"http://localhost:4573//temp/201709141057334502460.jpg","Url":"4,http://www.baidu.com","DisplaySequence":38,"TypeId":14,"Description":"跳转链接"}],"ADImg1":null,"ADImg2":null,"ADImg3":null,"ADImg4":null,"ADImg5":null,"MiddleSlide":null}}

 

 

返回结果参数说明:

 

字段名称 字段编码 数据类型 是否可空 备注
地图Key QQMapKey string
顶部轮播图 TopSlide Json列表
菜单 Menu Json列表
中间轮播图 MiddleSlide Json列表
广告图 ADImg1 Json
ADImg2 Json
ADImg3 Json
ADImg4 Json
ADImg5 Json

 

数据字段信息

 

字段名称 字段编码 数据类型 是否可空 备注
图片地址 ImageUrl string
链接地址 Url String 数据格式为:

类型(1门店标签  2门店  3专题  4自定义),地址

描述 Description string

 

2.4门店列表接口

  • 请求路径:com/ SmallProgAPI/Home/GetStoreList

 

  • 请求参数:

 

参数名称 必填 参数值说明 格式要求
fromLatLng 经纬度 string
keyWords 关键字 string
tagsId 标签编号 int
shopId 商家编号 int
pageNo 页码 int
pageSize 每页显示数 Int
openId 用户openid string

 

  • 返回值说明:Json格式
返回结果:

{"success":true,"msg":"","code":0,"data":{"Total":2,"CityInfo":{"Id":222,"Name":"太原市"},"CurrentAddress":"平阳路96-12号","Stores":[{"CommentScore":5.00,"SaleCount":20,"SaleCountByMonth":0,"CartQuantity":0,"ShowProducts":[{"Id":1171,"ProductName":"测试全麦风1142","MarketPrice":333.00,"MinSalePrice":333.00,"HasSKU":false,"SaleCount":0,"HighCommentCount":0,"DefaultImage":"http://localhost:4573//Storage/Shop/1/Products/1171/1_150.png"}],"ShopAllActives":{"ShopActives":null,"FreeFreightAmount":0.0,"ShopCoupons":[{"Id":157,"CouponName":"10","Price":10.0,"OrderAmount":"100.00","ShopId":1,"ShopName":null,"EndTime":"2017-11-24T00:00:00","strEndTime":"2017-11-24","StartTime":"2017-10-24T00:00:00","strStartTime":"2017-10-24","Num":0,"useNum":0,"inventory":0,"perMax":0,"IsUse":0,"UseArea":0,"Remark":null}],"MinCouponPrice":10.0,"MaxCouponPrice":10.0},"ShopBranch":{"ShopName":null,"ShopBranchInTagNames":null,"ShopBranchTagId":null,"Id":11,"ShopId":1,"ShopBranchName":"山西太原","AddressId":0,"AddressDetail":"太原市小店区坞城街道平阳路96-10","AddressFullName":null,"ContactUser":null,"ContactPhone":"17012345780","Status":0,"CreateDate":"0001-01-01T00:00:00","UserName":null,"PasswordOne":null,"PasswordTwo":null,"RegionIdPath":null,"ServeRadius":0,"Longitude":112.553,"Latitude":37.8143,"ShopImages":"http://localhost:4573//temp/201709141033218603790.jpg","Distance":0.02,"DistanceUnit":"20M","Enabled":false,"AddressPath":null,"IsStoreDelive":false,"IsAboveSelf":true,"DeliveFee":0,"FreeMailFee":0,"DeliveTotalFee":0,"StoreOpenStartTime":"00:00:00","StoreOpenEndTime":"00:00:00","RecommendSequence":9223372036854775807,"IsRecommend":false,"CommentScore":0.0,"DaDaShopId":null},"Products":[]},{"CommentScore":5.00,"SaleCount":1,"SaleCountByMonth":0,"CartQuantity":0,"ShowProducts":[{"Id":732,"ProductName":"商品2号","MarketPrice":250.00,"MinSalePrice":150.00,"HasSKU":true,"SaleCount":1,"HighCommentCount":1,"DefaultImage":"http://localhost:4573//Storage/Shop/292/Products/732/1_150.png"}],"ShopAllActives":{"ShopActives":null,"FreeFreightAmount":0.0,"ShopCoupons":[],"MinCouponPrice":0.0,"MaxCouponPrice":0.0},"ShopBranch":{"ShopName":null,"ShopBranchInTagNames":null,"ShopBranchTagId":null,"Id":27,"ShopId":292,"ShopBranchName":"太原店","AddressId":0,"AddressDetail":"太原市尖草坪区光社街道新店街杜家村剧场(汇阳小区西北)","AddressFullName":null,"ContactUser":null,"ContactPhone":"18390838220","Status":0,"CreateDate":"0001-01-01T00:00:00","UserName":null,"PasswordOne":null,"PasswordTwo":null,"RegionIdPath":null,"ServeRadius":5,"Longitude":112.577,"Latitude":37.9482,"ShopImages":"http://localhost:4573//temp/201704081055033013660.jpg","Distance":15.05,"DistanceUnit":"15.05KM","Enabled":false,"AddressPath":null,"IsStoreDelive":false,"IsAboveSelf":false,"DeliveFee":0,"FreeMailFee":0,"DeliveTotalFee":0,"StoreOpenStartTime":"00:00:00","StoreOpenEndTime":"00:00:00","RecommendSequence":9223372036854775807,"IsRecommend":false,"CommentScore":0.0,"DaDaShopId":null},"Products":[]}]}}

 

 

返回结果参数说明:

 

字段名称 字段编码 数据类型 是否可空 备注
总量 Total int
城市信息 CityInfo Json
当前位置 CurrentAddress string
门店列表 Stores Json列表

 

城市信息 CityInfo

 

字段名称 字段编码 数据类型 是否可空 备注
城市编号 Id int
城市名称 Name String

 

门店列表信息 Stores

 

字段名称 字段编码 数据类型 是否可空 备注
销量 SaleCount Int
月销量 SaleCountByMonth int
评分 CommentScore decimal
活动 ShopAllActives json列表
门店信息 ShopBranch json 见2.4
商品 ShowProducts json列表
门店商品数量 ProductCount int

 

商品 ShowProducts

 

字段名称 字段编码 数据类型 是否可空 备注
商品编号 Id int
商品名称 ProductName string
市场价 MarketPrice decimal
最低售价 MinSalePrice decimal
是否有规格 HasSKU bool
商品略缩图 DefaultImage string
销量 SaleCount int
好评数 HighCommentCount int

 

门店(商家)活动信息 ShopAllActives

 

字段名称 字段编码 数据类型 是否可空 备注
商家活动 ShopActives json列表
满额免运费额度 FreeFreightAmount decimal
优惠券集 ShopCoupons Json列表
最小优惠券面额 MinCouponPrice Decimal
最大优惠券面额 MaxCouponPrice decimal

 

商家活动信息 ShopActives

 

字段名称 字段编码 数据类型 是否可空 备注
活动名称 ActiveName string
商家编号 ShopId int

 

优惠券信息 ShopCoupons

 

字段名称 字段编码 数据类型 是否可空 备注
编号 Id json列表
优惠券名称 CouponName decimal
价值 Price Json列表
使用条件 OrderAmount Decimal
商铺编号 ShopId decimal
商铺名称 ShopName string
到期时间 EndTime datetime
strEndTime string
开始时间 StartTime datetime
strStartTime string
更多
  • 该日志由 于2020年05月26日发表在 未分类 分类下, 你可以发表评论,并在保留原文地址 及作者的情况下引用到你的网站或博客。
  • 本文链接: 多门店首页接口 | 帮助信息-动天数据
  • 版权所有: 帮助信息-动天数据-转载请标明出处
  • 【上一篇】 【下一篇】

    0 Comments.