This commit is contained in:
laodaming
2023-10-10 14:59:00 +08:00
parent 2068825ae1
commit 8593eb2dd3
4 changed files with 26 additions and 6 deletions

View File

@@ -18,9 +18,12 @@ service collection {
//获取收藏列表
@handler GetCollectProductListHandler
get /api/collection/get_collect_product_list(GetCollectProductListReq) returns (response);
//测试
//测试算法合图并发
@handler TestAiHandler
get /api/collection/test_ai(TestAiReq) returns (response);
//测试pdf
@handler TestPdfHandler
post /api/collection/test_pdf(TestPdfReq) returns (response);
}
//收藏产品
@@ -56,7 +59,12 @@ type GetCollectProductListRspItem {
IsShelf int64 `json:"is_shelf"`
IsDeleted int64 `json:"is_deleted"`
}
//测试
//测试算法
type TestAiReq {
Num int `form:"num"`
}
//测试pdf
type TestPdfReq {
Content string `form:"content"`
Type string `form:"type"`
}