init push
This commit is contained in:
11
backend/api/crawler/v1/epub.go
Normal file
11
backend/api/crawler/v1/epub.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package v1
|
||||
|
||||
type EpubParseReq struct {
|
||||
KbID string `json:"kb_id" validate:"required"`
|
||||
Filename string `json:"filename" validate:"required"`
|
||||
Key string `json:"key" validate:"required"`
|
||||
}
|
||||
|
||||
type EpubParseResp struct {
|
||||
TaskID string `json:"task_id"`
|
||||
}
|
||||
Reference in New Issue
Block a user