fusenapi/server_api/product.api
2023-06-05 17:56:55 +08:00

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);
}