This commit is contained in:
laodaming
2023-10-25 14:27:47 +08:00
parent 91f6970eb0
commit 8dc98d4aca
7 changed files with 20 additions and 173 deletions

View File

@@ -20,10 +20,7 @@ service collection {
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);
post /api/collection/test_ai(TestAiReq) returns (response);
}
//收藏产品
@@ -61,10 +58,5 @@ type GetCollectProductListRspItem {
}
//测试算法
type TestAiReq {
Num int `form:"num"`
}
//测试pdf
type TestPdfReq {
Content string `json:"content"`
Type string `json:"type"`
Data map[string]interface{} `json:"data"`
}