fusenapi/server_api/product.api

21 lines
446 B
Plaintext
Raw Normal View History

2023-05-31 03:38:17 +00:00
syntax = "v1"
info (
title: // TODO: add title
desc: // TODO: add description
author: ""
email: ""
)
2023-06-01 07:32:28 +00:00
import "basic.api"
type GetProductListReq {
2023-05-31 03:38:17 +00:00
// TODO: add members here and delete this comment
2023-06-01 07:32:28 +00:00
Cid uint32 `form:"cid"`
Size uint32 `form:"size"`
Page uint32 `form:"page"`
IsDemo uint32 `form:"is_demo" , options=0|1"`
2023-05-31 03:38:17 +00:00
}
2023-06-01 07:32:28 +00:00
service product {
@handler GetProductListHandler
get /product/list(GetProductListReq) returns (response);
2023-05-31 03:38:17 +00:00
}