26 lines
340 B
Plaintext
Raw Normal View History

2021-01-03 16:10:42 +08:00
info(
title: "小程序商城"
desc: "小程序商品首页"
version: "1.0"
)
type IndexResp struct {
2021-01-08 22:52:15 +08:00
NewList
2021-01-03 16:10:42 +08:00
}
2021-01-08 22:52:15 +08:00
type NewList struct{
id int `json:"id"`
2021-01-03 16:10:42 +08:00
}
2021-01-08 22:52:15 +08:00
2021-01-03 16:10:42 +08:00
service index-api {
@doc(
summary: "首页列表"
)
@server(
handler: IndexHandler
)
get /index/index returns (IndexResp)
}