文档
测试
GET
/homePage/{userToken}

接口描述

主页

成功返回

参数名
类型
描述
必填
userData
dict
用户数据字典
必填
userid
int
用户ID
必填
nickname
string
昵称
必填
token
string
授权token
必填
code
number
示例:200
可选
msg
object
示例:null
可选
data
object
数据字典
可选
list_adv
array
数据列表
可选
advertisingId
number
示例:1
可选
advertisingImg
string
示例:/picture/a.jpg
可选
advertisingType
number
示例:1
可选
list_shop_hot
array
数据列表
可选
list_shop_recommend
array
数据列表
可选
list_shop
array
数据列表
可选
shopId
number
示例:1
可选
shopName
string
示例:花花公子袜子男短筒袜夏季薄款纯棉夏天潮防臭吸汗全棉袜船袜男士
可选
shopThumbnail
string
示例:/picture/duanwa.jpg
可选
shopPrice
number
示例:39
可选
categoryId
number
示例:1
可选
shopType
number
示例:1
可选
shopDesc
string
示例:花花公子(PLAYBOY)男士袜子男袜棉质中筒纯色运动商务休闲透气男棉袜5双礼盒 黑色藏青白色浅灰色深灰色 均码 【店铺聚惠】满2件9折/3件8.5折
可选
shopAddress
string
示例:海南
可选

失败返回

参数名
类型
描述
必填
code
int
错误码,0正确,小于0表示有错误
必填
msg
string
错误信息
必填
code
number
示例:205
可选
msg
string
示例:Token失效,请重新登录
可选
data
object
示例:null
可选

说明 / 示例

商品: shopId shopName 商品名字 shopThumbnail 商品缩略图 shopPrice 商品价格 categoryId 商品分类id shopType 商品类型(1、普通商品;2、热门商品;3、推介商品) shopDesc 商品描述 shopAddress 商品地址 广告 advertisingId id advertisingImg 广告图片 advertisingType 广告类型(1、主页;2、商城;)