25 lines
645 B
Go
25 lines
645 B
Go
package formula
|
|
|
|
type CreateTaskResponse struct {
|
|
TaskNo string `json:"task_no"`
|
|
Status int `json:"status"`
|
|
}
|
|
|
|
type GetFormulaTaskResponse struct {
|
|
TaskNo string `json:"task_no"`
|
|
Status int `json:"status"`
|
|
Count int `json:"count"`
|
|
Latex string `json:"latex"`
|
|
Markdown string `json:"markdown"`
|
|
MathML string `json:"mathml"`
|
|
MathMLMW string `json:"mathml_mw"`
|
|
ImageBlob string `json:"image_blob"`
|
|
DocxURL string `json:"docx_url"`
|
|
PDFURL string `json:"pdf_url"`
|
|
}
|
|
|
|
// FormulaRecognitionResponse 公式识别服务返回的响应
|
|
type FormulaRecognitionResponse struct {
|
|
Result string `json:"result"`
|
|
}
|