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"` MML string `json:"mml"` } // FormulaRecognitionResponse 公式识别服务返回的响应 type FormulaRecognitionResponse struct { Result string `json:"result"` } // ImageOCRResponse 图片OCR接口返回的响应 type ImageOCRResponse struct { Markdown string `json:"markdown"` // Markdown 格式内容 Latex string `json:"latex"` // LaTeX 格式内容 (无公式时为空) MathML string `json:"mathml"` // MathML 格式(无公式时为空) MML string `json:"mml"` // MML 格式(无公式时为空) }