21 lines
446 B
Plaintext
21 lines
446 B
Plaintext
syntax = "v1"
|
|
|
|
info (
|
|
title: // TODO: add title
|
|
desc: // TODO: add description
|
|
author: ""
|
|
email: ""
|
|
)
|
|
import "basic.api"
|
|
type GetProductListReq {
|
|
// TODO: add members here and delete this comment
|
|
Cid uint32 `form:"cid"`
|
|
Size uint32 `form:"size"`
|
|
Page uint32 `form:"page"`
|
|
IsDemo uint32 `form:"is_demo" , options=0|1"`
|
|
}
|
|
|
|
service product {
|
|
@handler GetProductListHandler
|
|
get /product/list(GetProductListReq) returns (response);
|
|
} |