This commit is contained in:
laodaming
2023-10-10 15:09:20 +08:00
parent 056fed40f1
commit ce31946e53
3 changed files with 6 additions and 6 deletions

View File

@@ -23,7 +23,7 @@ service collection {
get /api/collection/test_ai(TestAiReq) returns (response);
//测试pdf
@handler TestPdfHandler
get /api/collection/test_pdf(TestPdfReq) returns (response);
post /api/collection/test_pdf(TestPdfReq) returns (response);
}
//收藏产品
@@ -65,6 +65,6 @@ type TestAiReq {
}
//测试pdf
type TestPdfReq {
Content string `form:"content"`
Type string `form:"type"`
Content string `json:"content"`
Type string `json:"type"`
}