2026-04-08 20:14:22 +08:00
|
|
|
|
openapi: 3.1.0
|
|
|
|
|
|
info:
|
|
|
|
|
|
title: BAI PocketBase Manage Hooks API
|
|
|
|
|
|
version: 1.0.0-manage-folder
|
|
|
|
|
|
description: |
|
|
|
|
|
|
面向管理端与自定义 hooks 的接口文档。
|
|
|
|
|
|
本目录仅收敛自定义 hooks API,不包含 PocketBase 原生 records API。
|
|
|
|
|
|
|
2026-04-09 14:49:12 +08:00
|
|
|
|
本文件为目录索引,支持单文件独立导入,不依赖其他 YAML。
|
|
|
|
|
|
|
2026-04-08 20:14:22 +08:00
|
|
|
|
文档约定:
|
|
|
|
|
|
- 不单独配置鉴权组件;如接口需要登录,请直接在说明中关注 `Authorization: Bearer <token>`
|
|
|
|
|
|
- 示例字段值统一使用 `<字段说明>|<类型>` 风格
|
|
|
|
|
|
- 当前 `tbl_auth_users.openid` 为全平台统一身份锚点
|
|
|
|
|
|
servers:
|
|
|
|
|
|
- url: https://bai-api.blv-oa.com
|
|
|
|
|
|
description: 生产环境
|
|
|
|
|
|
- url: http://localhost:8090
|
|
|
|
|
|
description: PocketBase 本地环境
|
|
|
|
|
|
tags:
|
|
|
|
|
|
- name: 系统
|
|
|
|
|
|
description: hooks 系统基础接口
|
|
|
|
|
|
- name: 微信认证
|
|
|
|
|
|
description: hooks 微信认证与资料接口
|
|
|
|
|
|
- name: 平台认证
|
|
|
|
|
|
description: hooks 平台用户认证接口
|
|
|
|
|
|
- name: 字典管理
|
|
|
|
|
|
description: hooks 字典管理接口
|
|
|
|
|
|
- name: 附件管理
|
|
|
|
|
|
description: hooks 附件管理接口
|
|
|
|
|
|
- name: 文档管理
|
|
|
|
|
|
description: hooks 文档管理接口
|
|
|
|
|
|
- name: 文档历史
|
|
|
|
|
|
description: hooks 文档历史接口
|
|
|
|
|
|
- name: 购物车
|
|
|
|
|
|
description: hooks 购物车接口
|
|
|
|
|
|
- name: 订单
|
|
|
|
|
|
description: hooks 订单接口
|
2026-04-09 14:49:12 +08:00
|
|
|
|
paths: {}
|
|
|
|
|
|
x-index:
|
|
|
|
|
|
files:
|
|
|
|
|
|
- cart.yaml
|
|
|
|
|
|
- order.yaml
|