文档
测试
POST
http://jiajiashi.vtui365.com/index.php?s=/api/index/index

请求参数

参数名
类型
描述
必填
wxapp_id
int
示例:10001
必填
token
string
示例:
必填
city_id
int
示例:1
必填
lat
必填
lng
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:success
必填
data
object
数据字典
必填
top_list
array
数据列表
必填
banner_id
int
示例:60
必填
wxapp_id
int
示例:10001
必填
name
string
示例:1
必填
image_id
int
示例:20702
必填
sort
int
示例:100
必填
url
string
示例:
必填
type
int
示例:0
必填
status
int
示例:1
必填
create_time
string
示例:2021-01-06 09:53:21
必填
update_time
string
示例:2021-01-06 09:53:21
必填
is_delete
int
示例:0
必填
image
object
数据字典
必填
file_id
int
示例:20702
必填
storage
string
示例:local
必填
group_id
int
示例:0
必填
file_url
string
示例:
必填
file_name
string
示例:20210106093810cbfe52648.jpg
必填
file_size
int
示例:33160
必填
file_type
string
示例:image
必填
extension
string
示例:jpg
必填
is_user
int
示例:0
必填
is_recycle
int
示例:0
必填
is_delete
int
示例:0
必填
merch_id
int
示例:0
必填
file_path
string
示例:http://jiajiashi.vtui365.com/uploads/20210106093810cbfe52648.jpg
必填
cate_list
array
数据列表
必填
category_id
int
示例:10311
必填
name
string
示例:分类一
必填
parent_id
int
示例:0
必填
image_id
int
示例:20703
必填
sort
int
示例:100
必填
create_time
string
示例:2021-01-06 09:44:34
必填
is_show
int
示例:1
必填
image
object
数据字典
必填
file_id
int
示例:20703
必填
storage
string
示例:local
必填
group_id
int
示例:0
必填
file_url
string
示例:
必填
file_name
string
示例:2021010609442997d8b3362.jpeg
必填
file_size
int
示例:11600
必填
file_type
string
示例:image
必填
extension
string
示例:jpeg
必填
is_user
int
示例:0
必填
is_recycle
int
示例:0
必填
is_delete
int
示例:0
必填
merch_id
int
示例:0
必填
file_path
string
示例:http://jiajiashi.vtui365.com/uploads/2021010609442997d8b3362.jpeg
必填
merch_list
array
数据列表
必填
merch_user_id
int
示例:134
必填
user_id
int
示例:0
必填
province_id
int
示例:1
必填
city_id
int
示例:2
必填
region_id
int
示例:3
必填
merch_name
string
示例:测试商户
必填
realname
string
示例:测
必填
mobile
string
示例:18312341234
必填
username
string
示例:18312341234
必填
password
string
示例:e10adc3949ba59abbe56e057f20f883e
必填
image_id
int
示例:20701
必填
merch_status
int
示例:10
必填
area_id
int
示例:8
必填
category
string
示例:
必填
is_recommend
int
示例:1
必填
is_delete
int
示例:0
必填
wxapp_id
int
示例:10001
必填
descript
string
示例:
必填
views
int
示例:0
必填
logo
object
数据字典
必填
file_id
int
示例:20701
必填
storage
string
示例:local
必填
group_id
int
示例:0
必填
file_url
string
示例:
必填
file_name
string
示例:20201231150808c64fb5971.png
必填
file_size
int
示例:50152
必填
file_type
string
示例:image
必填
extension
string
示例:png
必填
is_user
int
示例:0
必填
is_recycle
int
示例:0
必填
is_delete
int
示例:0
必填
merch_id
int
示例:0
必填
file_path
string
示例:http://jiajiashi.vtui365.com/uploads/20201231150808c64fb5971.png
必填
top_goodslist
object
数据字典
必填
total
int
示例:1
必填
per_page
int
示例:20
必填
current_page
int
示例:1
必填
last_page
int
示例:1
必填
data
array
数据列表
必填
goods_id
int
示例:12088
必填
goods_name
string
示例:测试商品
必填
selling_point
string
示例:美观大方 性价比较高 不容错过
必填
category_id
int
示例:10305
必填
spec_type
int
示例:10
必填
deduct_stock_type
int
示例:20
必填
goods_sort
int
示例:100
必填
buy_limit
int
示例:0
必填
delivery_id
int
示例:10001
必填
is_new_user_enjoy
int
示例:0
必填
is_points_gift
int
示例:1
必填
is_points_discount
int
示例:1
必填
is_enable_grade
int
示例:0
必填
is_alone_grade
int
示例:0
必填
alone_grade_equity
object
示例:null
必填
is_ind_dealer
int
示例:0
必填
dealer_money_type
int
示例:10
必填
first_money
string
示例:0.00
必填
second_money
string
示例:0.00
必填
third_money
string
示例:0.00
必填
is_rush
int
示例:0
必填
is_points_exchange
int
示例:0
必填
need_points_num
int
示例:0
必填
need_points_money
string
示例:0.00
必填
goods_status
object
数据字典
必填
text
string
示例:上架
必填
value
int
示例:10
必填
merch_id
int
示例:0
必填
goods_sales
int
示例:0
必填
goods_min_price
string
示例:1.00
必填
goods_max_price
string
示例:1.00
必填
goods_stock
int
示例:111
必填
goods_image
string
示例:http://jiajiashi.vtui365.com/uploads/20210106093810cbfe52648.jpg
必填
goods_sku
object
数据字典
必填
goods_sku_id
int
示例:17688
必填
goods_id
int
示例:12088
必填
spec_sku_id
string
示例:0
必填
image_id
int
示例:0
必填
goods_no
string
示例:
必填
goods_price
string
示例:1.00
必填
line_price
string
示例:0.00
必填
stock_num
int
示例:111
必填
goods_sales
int
示例:0
必填
goods_weight
int
示例:0
必填
is_user_grade
boolean
示例:false
必填
sku
array
数据列表
必填
goods_sku_id
int
示例:17688
必填
goods_id
int
示例:12088
必填
spec_sku_id
string
示例:0
必填
image_id
int
示例:0
必填
goods_no
string
示例:
必填
goods_price
string
示例:1.00
必填
line_price
string
示例:0.00
必填
stock_num
int
示例:111
必填
goods_sales
int
示例:0
必填
goods_weight
int
示例:0
必填
shop
object
示例:null
必填