更新密码找回uniapp
This commit is contained in:
1 parent
7f9a66da0f
commit
3fdda89833
1304 files changed
+3503
-26132
No files matched your search
@@ -11,9 +11,6 @@ import (
|
||||
beego "github.com/beego/beego/v2/server/web"
|
||||
)
|
||||
|
||||
// BackendOcrController 租户端 OCR 识别(OA 应用)
|
||||
// OCR 配置由平台端「AI管理 → OCR配置」统一维护(yz_platform_site_setting 标签)。
|
||||
// 识别实现(视觉模型 / 专用 OCR)后续接入;当前返回配置状态占位。
|
||||
type BackendOcrController struct {
|
||||
beego.Controller
|
||||
}
|
||||
@@ -24,8 +21,6 @@ func (c *BackendOcrController) jsonErr(httpStatus, bizCode int, msg string) {
|
||||
_ = c.ServeJSON()
|
||||
}
|
||||
|
||||
// Recognize POST /backend/ocr/recognize
|
||||
// 入参 { image_base64 } 或 { image_url };占位阶段只校验配置并返回状态。
|
||||
func (c *BackendOcrController) Recognize() {
|
||||
if _, err := identity.Claims(c.Ctx.Request.Header.Get("Authorization"), identity.EndBackend); err != nil {
|
||||
code := identity.Status(err)
|
||||
|
||||
Reference in new issue
Block a user