首页及系统数据接口数据描述

2.1商城首页接口

(1)请求路径:xxx.com/SmallProgAPI/Home/GetIndexData

 

  • 请求参数

 

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

 

(3)返回值说明:Json格式

 

返回结果:

{"success":true,"msg":"","code":0,"data":{"HomeTopicPath":"http://localhost/AppletHome/data/default.json","Vid":0,"QQMapKey":""}}

 

 

返回结果参数说明:

首页信息 data

字段名称 字段编码 备注
首页专题json包路径 HomeTopicPath
版本号 Vid
QQ地图接口key QQMapKey

 

 

2.2商城首页商品信息接口

(1)请求路径:xxx.com/SmallProgAPI/Home/GetIndexProductData

 

  • 请求参数

 

参数名称 必填 参数值说明 格式要求
openId OpenID String
pageIndex 当前页码 Int
pageSize 每页显示记录数 Int

 

(3)返回值说明:Json格式

 

返回结果:

{"success":true,"msg":"","code":0,"data":[{"ProductId":1695,"ProductName":"【满500减50】ONLY夏季新款蕾丝镂空收腰短袖连衣裙女|117207529","SalePrice":"479.2","ThumbnailUrl160":"http://localhost:32223//Storage/Shop/1/Products/1695/1_350.png","MarketPrice":"0","CartQuantity":0,"HasSKU":false,"SkuId":"1695_0_0_0","ActiveId":0,"ActiveType":0,"Stock":22},{"ProductId":1696,"ProductName":"官方阶梯价结算商品","SalePrice":"15.98","ThumbnailUrl160":"http://localhost:32223//Storage/Shop/1/Products/1696/1_350.png","MarketPrice":"0","CartQuantity":0,"HasSKU":false,"SkuId":"1696_0_0_0","ActiveId":0,"ActiveType":0,"Stock":446},{"ProductId":1697,"ProductName":"官方结算002","SalePrice":"159.18","ThumbnailUrl160":"http://localhost:32223//Storage/Shop/1/Products/1697/1_350.png","MarketPrice":"0","CartQuantity":0,"HasSKU":false,"SkuId":"1697_0_0_0","ActiveId":0,"ActiveType":0,"Stock":1831},{"ProductId":1698,"ProductName":"官方结算001","SalePrice":"159.18","ThumbnailUrl160":"http://localhost:32223//Storage/Shop/1/Products/1698/1_350.png","MarketPrice":"0","CartQuantity":0,"HasSKU":false,"SkuId":"1698_0_0_0","ActiveId":0,"ActiveType":0,"Stock":25},{"ProductId":1699,"ProductName":"王小鸭新款夏装大码短袖中长款裙子女士大摆真丝2018a字裙连衣裙","SalePrice":"639.2","ThumbnailUrl160":"http://localhost:32223//Storage/Shop/1/Products/1699/1_350.png","MarketPrice":"0","CartQuantity":0,"HasSKU":false,"SkuId":"1699_0_0_0","ActiveId":0,"ActiveType":0,"Stock":480}]}

 

 

返回结果参数说明:

首页信息 data

字段名称 字段编码 备注
商品ID ProductId
商品名称 ProductName
价格 SalePrice
图片 ThumbnailUrl160
市场价 MarketPrice
购物车数量 CartQuantity
是否有规格 HasSKU
规格Id SkuId
活动Id ActiveId
活动类型 ActiveType 1=限时购,0=无活动
库存数量 Stock

 

http://www.sewhandpan.cn/
http://www.nuomasilin.cn/

http://www.anlancs.com/

更多
  • 该日志由 于2020年05月26日发表在 未分类 分类下, 你可以发表评论,并在保留原文地址 及作者的情况下引用到你的网站或博客。
  • 本文链接: 首页及系统数据接口数据描述 | 帮助信息-动天数据
  • 版权所有: 帮助信息-动天数据-转载请标明出处
  • 【上一篇】 【下一篇】

    0 Comments.