docs(openapi): add AI index and annotate setting endpoints

- add openapi-index.py to generate a compact Markdown index from OpenAPI JSON/YAML
- generate docs/openapi.index.md from the export scripts by default
- annotate SettingController with tags, operations, parameters and public security
- document the AI index workflow in api-integration.md
This commit is contained in:
Timi
2026-11-25 13:18:08 +08:00
parent 3f4a85a3d3
commit dd82259221
7 changed files with 1335 additions and 18 deletions
+814
View File
@@ -0,0 +1,814 @@
# TimiServerAPI 接口索引
> 本文件由 `scripts/openapi-index.py` 从 OpenAPI 快照生成,请勿手工编辑。
> 数据来源:`docs/openapi.local.yaml`。完整字段定义以 OpenAPI 原文为准。
- 服务版本:`1.0.79`
- OpenAPI 版本:`3.1.0`
- 路径数:464
- 接口数:466(同一路径的同一处理器会合并多个 HTTP 方法)
- 模块数:36
## 使用说明
- 先按模块定位接口,再读取 `docs/openapi.local.yaml` 中对应的 `path` 或 `components/schemas`,不要整文件加载。
- 参数列中 `*` 表示必填;`header:`、`cookie:` 为参数位置前缀,其余为 path/query 参数。
- 摘要前的 `[公开]` 表示 OpenAPI 中显式标记为无需登录;未标记的接口默认使用 `Token` 鉴权。
- 方法列出现多个 HTTP 方法,表示 Controller 使用了未限定 method 的 `@RequestMapping`。
- 请求体和响应列展示顶层 schema 名称;`binary` 表示二进制响应,`SSE` 表示 `text/event-stream`。
- 普通 JSON 接口的响应仍由 `TimiResponse` 包装,鉴权、错误码、分页等约定见 `docs/api-integration.md`。
## 模块导航
| 模块 | 接口数 | 路径前缀 |
| --- | ---: | --- |
| [`gao-ai`](#module-gao-ai) | 8 | `/gao/ai/` |
| [`gao-customer`](#module-gao-customer) | 41 | `/gao/customer/` |
| [`gao-data-export`](#module-gao-data-export) | 3 | `/gao/data-export/` |
| [`gao-event`](#module-gao-event) | 20 | `/gao/event/` |
| [`gao-fund`](#module-gao-fund) | 5 | `/gao/fund/` |
| [`gao-notify`](#module-gao-notify) | 2 | `/gao/notify/` |
| [`gao-order`](#module-gao-order) | 13 | `/gao/order/` |
| [`gao-package`](#module-gao-package) | 6 | `/gao/package/` |
| [`gao-point`](#module-gao-point) | 11 | `/gao/point/` |
| [`gao-product`](#module-gao-product) | 51 | `/gao/product/` |
| [`gao-recycle`](#module-gao-recycle) | 32 | `/gao/recycle/` |
| [`gao-report`](#module-gao-report) | 1 | `/gao/report/` |
| [`gao-role`](#module-gao-role) | 2 | `/gao/role/` |
| [`gao-sales`](#module-gao-sales) | 27 | `/gao/sales/` |
| [`gao-store`](#module-gao-store) | 28 | `/gao/store/` |
| [`gao-tag`](#module-gao-tag) | 7 | `/gao/tag/` |
| [`gao-user`](#module-gao-user) | 10 | `/gao/user/` |
| [`system`](#module-system) | 48 | `/system/` |
| [`user`](#module-user) | 44 | `/user/` |
| [`app`](#module-app) | 13 | `/app/` |
| [`.well-known`](#module-.well-known) | 6 | `/.well-known/` |
| [`article`](#module-article) | 5 | `/article/` |
| [`attach`](#module-attach) | 14 | `/attach/` |
| [`captcha`](#module-captcha) | 2 | `/captcha/` |
| [`comment`](#module-comment) | 13 | `/comment/` |
| [`feedback`](#module-feedback) | 5 | `/feedback/` |
| [`fmc`](#module-fmc) | 1 | `/fmc/` |
| [`icon`](#module-icon) | 4 | `/icon/` |
| [`journal`](#module-journal) | 7 | `/journal/` |
| [`log`](#module-log) | 1 | `/log/` |
| [`mcp`](#module-mcp) | 5 | `/mcp/` |
| [`mirror`](#module-mirror) | 2 | `/mirror/` |
| [`notify`](#module-notify) | 15 | `/notify/` |
| [`root`](#module-root) | 1 | `/` |
| [`setting`](#module-setting) | 6 | `/setting/` |
| [`tag`](#module-tag) | 7 | `/tag/` |
<a id="module-gao-ai"></a>
## gao-ai
共 8 个接口,路径前缀 `/gao/ai/`。
| 方法 | 路径 | 摘要 | 参数 | 请求体 | 响应 | Tag |
| --- | --- | --- | --- | --- | --- | --- |
| POST | `/gao/ai/attachment/upload` | upload | storeId | object{file} (multipart/form-data) | Array<GaoAiAttachmentView> | gao-ai-operation-controller |
| POST | `/gao/ai/chat` | chat | - | GaoAiChatRequest | SSE | gao-ai-chat-controller |
| POST | `/gao/ai/conversation/delete` | deleteConversation | conversationId* | - | - | gao-ai-chat-controller |
| POST | `/gao/ai/conversation/list` | listConversation | - | GaoAiConversationListRequest | JsonNode | gao-ai-chat-controller |
| POST | `/gao/ai/conversation/read` | readConversation | - | GaoAiConversationReadRequest | JsonNode | gao-ai-chat-controller |
| POST | `/gao/ai/operation/cancel` | cancel | - | GaoAiOperationCommitRequest | GaoAiToolResult | gao-ai-operation-controller |
| POST | `/gao/ai/operation/commit` | commit | - | GaoAiOperationCommitRequest | GaoAiToolResult | gao-ai-operation-controller |
| GET | `/gao/ai/operation/pending` | pending | conversationId, storeId | - | GaoAiToolResult | gao-ai-operation-controller |
<a id="module-gao-customer"></a>
## gao-customer
共 41 个接口,路径前缀 `/gao/customer/`。
| 方法 | 路径 | 摘要 | 参数 | 请求体 | 响应 | Tag |
| --- | --- | --- | --- | --- | --- | --- |
| POST | `/gao/customer/chart/customer/disease/word` | customerDiseaseWord | - | GaoCustomerDiseaseWordReq | Array<GaoCustomerDiseaseWordView> | gao-customer-chart-controller |
| POST | `/gao/customer/chart/event/record/calendar` | eventRecordCalendar | - | GaoCustomerChartReq | Array<GaoEventRecordCalendarView> | gao-customer-chart-controller |
| POST | `/gao/customer/chart/event/record/daily` | eventRecordDaily | - | GaoCustomerChartReq | Array<GaoEventRecordDailyStatView> | gao-customer-chart-controller |
| POST | `/gao/customer/consumption-record/list` | list | - | GaoCustomerConsumptionRecordPage | GaoCustomerConsumptionRecordPageResult | gao-customer-consumption-record-controller |
| POST | `/gao/customer/create` | create | - | GaoCustomer_Public | string | gao-customer-controller |
| POST | `/gao/customer/delete` | delete | id* | - | - | gao-customer-controller |
| POST | `/gao/customer/detail` | detail | id* | - | GaoCustomer_Public | gao-customer-controller |
| POST | `/gao/customer/find/code` | findByCode | storeId*, code* | - | GaoCustomer_Public | gao-customer-controller |
| POST | `/gao/customer/find/id` | findById | id* | - | GaoCustomer_Public | gao-customer-controller |
| POST | `/gao/customer/find/name` | findByName | storeId*, name* | - | GaoCustomer_Public | gao-customer-controller |
| POST | `/gao/customer/follow-up-reminder/complete` | complete | id* | - | - | gao-customer-follow-up-reminder-controller |
| POST | `/gao/customer/follow-up-reminder/create` | create | - | GaoCustomerFollowUpReminder | string | gao-customer-follow-up-reminder-controller |
| POST | `/gao/customer/follow-up-reminder/delete` | delete | id* | - | - | gao-customer-follow-up-reminder-controller |
| POST | `/gao/customer/follow-up-reminder/detail` | detail | id* | - | GaoCustomerFollowUpReminder_Public | gao-customer-follow-up-reminder-controller |
| POST | `/gao/customer/follow-up-reminder/list` | list | - | GaoCustomerFollowUpReminderPage_Public | GaoCustomerFollowUpReminderPageResult_Public | gao-customer-follow-up-reminder-controller |
| POST | `/gao/customer/follow-up-reminder/update` | update | - | GaoCustomerFollowUpReminder | - | gao-customer-follow-up-reminder-controller |
| POST | `/gao/customer/invite/delete` | deleteInvite | customerId* | - | - | gao-customer-controller |
| POST | `/gao/customer/invite/save` | saveInvite | introducerCustomerId*, customerId* | - | - | gao-customer-controller |
| POST | `/gao/customer/invited/list` | listInvited | introducerCustomerId* | - | Array<GaoCustomer_Public> | gao-customer-controller |
| POST | `/gao/customer/list` | list | - | GaoCustomerPage_Public | PageResultGaoCustomer_Public | gao-customer-controller |
| POST | `/gao/customer/package/cancel` | cancel | - | GaoCustomerPackageCancelRequest | GaoCustomerPackage | gao-customer-package-controller |
| POST | `/gao/customer/package/detail` | detail | id* | - | GaoCustomerPackage | gao-customer-package-controller |
| POST | `/gao/customer/package/list` | list | - | GaoCustomerPackagePage | PageResultGaoCustomerPackage | gao-customer-package-controller |
| POST | `/gao/customer/package/purchase` | purchase | - | GaoCustomerPackagePurchaseRequest | GaoCustomerPackage | gao-customer-package-controller |
| POST | `/gao/customer/point/account/detail` | detailById | id*, storeId | - | GaoPointAccount | gao-point-account-controller |
| POST | `/gao/customer/point/account/detail/customer` | detail | customerId*, storeId | - | GaoPointAccount | gao-point-account-controller |
| POST | `/gao/customer/point/account/list` | list | - | GaoPointAccountPage | PageResultGaoPointAccount | gao-point-account-controller |
| POST | `/gao/customer/point/adjust` | adjust | - | GaoPointAdjustRequest | - | gao-point-ledger-controller |
| POST | `/gao/customer/point/ledger/detail` | detail | id*, storeId | - | GaoPointLedger | gao-point-ledger-controller |
| POST | `/gao/customer/point/ledger/list` | list | - | GaoPointLedgerPage | PageResultGaoPointLedger | gao-point-ledger-controller |
| POST | `/gao/customer/point/rule/create` | create | - | GaoPointRule | string | gao-point-rule-controller |
| POST | `/gao/customer/point/rule/delete` | delete | id* | - | - | gao-point-rule-controller |
| POST | `/gao/customer/point/rule/detail` | detail | id* | - | GaoPointRule | gao-point-rule-controller |
| POST | `/gao/customer/point/rule/list` | list | - | PageGaoPointRule | PageResultGaoPointRule | gao-point-rule-controller |
| POST | `/gao/customer/point/rule/script/list` | scriptList | - | - | Array<GroovyScript> | gao-point-rule-controller |
| POST | `/gao/customer/point/rule/sort` | sort | - | Array<string> | - | gao-point-rule-controller |
| POST | `/gao/customer/point/rule/update` | update | - | GaoPointRule | - | gao-point-rule-controller |
| POST | `/gao/customer/profile/pdf` | pdf | id* | - | - | gao-customer-profile-controller |
| POST | `/gao/customer/state/daily` | dailyStat | - | GaoCustomerTrendStateReq | Array<GaoCustomerDailyStateView> | gao-customer-controller |
| POST | `/gao/customer/state/gender` | genderStat | storeId* | - | Array<GaoCustomerGenderStatView> | gao-customer-controller |
| POST | `/gao/customer/update` | update | - | GaoCustomer | - | gao-customer-controller |
<a id="module-gao-data-export"></a>
## gao-data-export
共 3 个接口,路径前缀 `/gao/data-export/`。
| 方法 | 路径 | 摘要 | 参数 | 请求体 | 响应 | Tag |
| --- | --- | --- | --- | --- | --- | --- |
| POST | `/gao/data-export/stat` | stat | - | GaoDataExportStatRequest | GaoDataExportStatView | gao-data-export-controller |
| POST | `/gao/data-export/task` | create | - | GaoDataExportCreateRequest | GaoDataExportTaskView | gao-data-export-controller |
| GET | `/gao/data-export/task/{taskId}` | detail | taskId* | - | GaoDataExportTaskView | gao-data-export-controller |
<a id="module-gao-event"></a>
## gao-event
共 20 个接口,路径前缀 `/gao/event/`。
| 方法 | 路径 | 摘要 | 参数 | 请求体 | 响应 | Tag |
| --- | --- | --- | --- | --- | --- | --- |
| POST | `/gao/event/create` | create | - | GaoEvent | - | gao-event-controller |
| POST | `/gao/event/delete` | delete | id* | - | - | gao-event-controller |
| POST | `/gao/event/detail` | detail | id* | - | GaoEvent | gao-event-controller |
| POST | `/gao/event/list` | list | - | PageGaoEvent | PageResultGaoEvent | gao-event-controller |
| POST | `/gao/event/list/history` | listHistory | - | PageGaoEvent | PageResultGaoEvent | gao-event-controller |
| POST | `/gao/event/list/valid` | listValid | storeId* | - | Array<GaoEvent> | gao-event-controller |
| POST | `/gao/event/options/update` | updateOptions | id* | Array<GaoEventOptionGroup> | - | gao-event-controller |
| POST | `/gao/event/record/create` | create | - | GaoEventRecord | - | gao-event-record-controller |
| POST | `/gao/event/record/create/batch` | createBatch | - | Array<GaoEventRecord> | - | gao-event-record-controller |
| POST | `/gao/event/record/create/customer` | createWithCustomer | - | GaoCustomer | - | gao-event-record-controller |
| POST | `/gao/event/record/delete` | delete | id* | - | - | gao-event-record-controller |
| POST | `/gao/event/record/detail` | detail | id* | - | GaoEventRecord_Public | gao-event-record-controller |
| POST | `/gao/event/record/list` | list | - | GaoEventRecordPage_Public | GaoEventRecordPageResult_Public | gao-event-record-controller |
| POST | `/gao/event/record/month/pdf` | export | eventId*, month* | - | - | gao-event-month-export-controller |
| POST | `/gao/event/record/option/stat` | optionStat | - | GaoEventRecordPage | Array<GaoEventOptionStatView> | gao-event-record-controller |
| POST | `/gao/event/record/rank` | eventRank | - | GaoEventRecordRankPage | PageResultGaoCustomerEventRankView | gao-event-record-controller |
| POST | `/gao/event/record/update` | update | - | GaoEventRecord | - | gao-event-record-controller |
| POST | `/gao/event/record/verify` | verify | id* | - | - | gao-event-record-controller |
| POST | `/gao/event/sort` | sort | - | Array<string> | - | gao-event-controller |
| POST | `/gao/event/update` | update | - | GaoEvent | - | gao-event-controller |
<a id="module-gao-fund"></a>
## gao-fund
共 5 个接口,路径前缀 `/gao/fund/`。
| 方法 | 路径 | 摘要 | 参数 | 请求体 | 响应 | Tag |
| --- | --- | --- | --- | --- | --- | --- |
| POST | `/gao/fund/record/detail` | detail | id* | - | GaoFundRecord | gao-fund-record-controller |
| POST | `/gao/fund/record/list` | list | - | GaoFundRecordPage | PageResultGaoFundRecord | gao-fund-record-controller |
| POST | `/gao/fund/record/my-receive/detail` | detailMyReceive | id* | - | GaoFundRecord | gao-fund-record-controller |
| POST | `/gao/fund/record/my-receive/list` | listMyReceive | - | GaoFundRecordPage | PageResultGaoFundRecord | gao-fund-record-controller |
| POST | `/gao/fund/record/revoke` | revoke | - | GaoFundRevokeRequest | GaoFundRecord | gao-fund-record-controller |
<a id="module-gao-notify"></a>
## gao-notify
共 2 个接口,路径前缀 `/gao/notify/`。
| 方法 | 路径 | 摘要 | 参数 | 请求体 | 响应 | Tag |
| --- | --- | --- | --- | --- | --- | --- |
| POST | `/gao/notify/create` | create | - | Notify | Notify | gao-notify-controller |
| POST | `/gao/notify/recipient/list` | recipientList | - | PageGaoUser_Public | PageResultGaoUser_Public | gao-notify-controller |
<a id="module-gao-order"></a>
## gao-order
共 13 个接口,路径前缀 `/gao/order/`。
| 方法 | 路径 | 摘要 | 参数 | 请求体 | 响应 | Tag |
| --- | --- | --- | --- | --- | --- | --- |
| POST | `/gao/order/fulfillment/cancel` | cancel | - | GaoOrderFulfillmentActionRequest | GaoOrderFulfillment | gao-order-fulfillment-controller |
| POST | `/gao/order/fulfillment/create` | create | - | GaoOrderFulfillmentCreateRequest | GaoOrderFulfillment | gao-order-fulfillment-controller |
| POST | `/gao/order/fulfillment/create-and-verify` | createAndVerify | - | GaoOrderFulfillmentCreateRequest | GaoOrderFulfillment | gao-order-fulfillment-controller |
| POST | `/gao/order/fulfillment/detail` | detail | id* | - | GaoOrderFulfillment | gao-order-fulfillment-controller |
| POST | `/gao/order/fulfillment/list` | list | - | GaoOrderFulfillmentPage | PageResultGaoOrderFulfillment | gao-order-fulfillment-controller |
| POST | `/gao/order/fulfillment/prepare-stock` | prepareStock | - | GaoOrderFulfillmentPrepareStockRequest | GaoOrderFulfillment | gao-order-fulfillment-controller |
| POST | `/gao/order/fulfillment/quick/create` | createQuickFulfillment | - | GaoQuickFulfillmentCreateRequest | Array<GaoOrderFulfillment> | gao-order-fulfillment-controller |
| POST | `/gao/order/fulfillment/quick/sku-list` | listQuickFulfillmentSku | - | GaoQuickFulfillmentCustomerRequest | Array<GaoQuickFulfillmentSkuView> | gao-order-fulfillment-controller |
| POST | `/gao/order/fulfillment/quick/source-order-list` | listQuickFulfillmentSourceOrder | - | GaoQuickFulfillmentSourceOrderListRequest | Array<GaoQuickFulfillmentSourceOrderView> | gao-order-fulfillment-controller |
| POST | `/gao/order/fulfillment/reject` | reject | - | GaoOrderFulfillmentActionRequest | GaoOrderFulfillment | gao-order-fulfillment-controller |
| POST | `/gao/order/fulfillment/return` | returnGoods | - | GaoOrderFulfillmentReturnRequest | GaoOrderFulfillment | gao-order-fulfillment-controller |
| POST | `/gao/order/fulfillment/revoke` | revoke | - | GaoOrderFulfillmentRevokeRequest | GaoOrderFulfillment | gao-order-fulfillment-controller |
| POST | `/gao/order/fulfillment/verify` | verify | - | GaoOrderFulfillmentActionRequest | GaoOrderFulfillment | gao-order-fulfillment-controller |
<a id="module-gao-package"></a>
## gao-package
共 6 个接口,路径前缀 `/gao/package/`。
| 方法 | 路径 | 摘要 | 参数 | 请求体 | 响应 | Tag |
| --- | --- | --- | --- | --- | --- | --- |
| POST | `/gao/package/config/create` | create | - | GaoPackageConfig | string | gao-package-config-controller |
| POST | `/gao/package/config/delete` | delete | id* | - | - | gao-package-config-controller |
| POST | `/gao/package/config/detail` | detail | id* | - | GaoPackageConfig | gao-package-config-controller |
| POST | `/gao/package/config/list` | list | - | GaoPackageConfigPage | PageResultGaoPackageConfig | gao-package-config-controller |
| POST | `/gao/package/config/list/valid` | listValid | storeId* | - | Array<GaoPackageConfig> | gao-package-config-controller |
| POST | `/gao/package/config/update` | update | - | GaoPackageConfig | - | gao-package-config-controller |
<a id="module-gao-point"></a>
## gao-point
共 11 个接口,路径前缀 `/gao/point/`。
| 方法 | 路径 | 摘要 | 参数 | 请求体 | 响应 | Tag |
| --- | --- | --- | --- | --- | --- | --- |
| POST | `/gao/point/redeem-sku/create` | create | - | GaoPointRedeemSkuRequest | GaoPointRedeemSku | gao-point-redeem-sku-controller |
| POST | `/gao/point/redeem-sku/delete` | delete | id*, storeId | - | - | gao-point-redeem-sku-controller |
| POST | `/gao/point/redeem-sku/detail` | detail | id*, storeId | - | GaoPointRedeemSku | gao-point-redeem-sku-controller |
| POST | `/gao/point/redeem-sku/disable` | disable | id*, storeId | - | - | gao-point-redeem-sku-controller |
| POST | `/gao/point/redeem-sku/list` | list | - | GaoPointRedeemSkuPage | GaoPointRedeemSkuPageResult | gao-point-redeem-sku-controller |
| POST | `/gao/point/redeem-sku/update` | update | - | GaoPointRedeemSkuRequest | GaoPointRedeemSku | gao-point-redeem-sku-controller |
| POST | `/gao/point/redemption/create` | create | - | GaoPointRedemptionCreateRequest | GaoPointRedemption | gao-point-redemption-controller |
| POST | `/gao/point/redemption/detail` | detail | id*, storeId | - | GaoPointRedemption | gao-point-redemption-controller |
| POST | `/gao/point/redemption/list` | list | - | GaoPointRedemptionPage | PageResultGaoPointRedemption | gao-point-redemption-controller |
| POST | `/gao/point/redemption/return` | returnRedemption | - | GaoPointRedemptionReturnRequest | GaoPointRedemption | gao-point-redemption-controller |
| POST | `/gao/point/redemption/return/list` | returnList | redemptionId*, storeId | - | Array<GaoPointRedemptionReturn> | gao-point-redemption-controller |
<a id="module-gao-product"></a>
## gao-product
共 51 个接口,路径前缀 `/gao/product/`。
| 方法 | 路径 | 摘要 | 参数 | 请求体 | 响应 | Tag |
| --- | --- | --- | --- | --- | --- | --- |
| POST | `/gao/product/category/create` | categoryCreate | - | GaoProductCategory | string | gao-product-controller |
| POST | `/gao/product/category/disable` | categoryDisable | id* | - | - | gao-product-controller |
| POST | `/gao/product/category/list` | categoryList | - | GaoProductCategoryPage | PageResultGaoProductCategory | gao-product-controller |
| POST | `/gao/product/category/sort` | categorySort | - | Array<string> | - | gao-product-controller |
| POST | `/gao/product/category/update` | categoryUpdate | - | GaoProductCategory | - | gao-product-controller |
| POST | `/gao/product/chart/fulfillment/daily` | fulfillmentDaily | - | GaoProductChartReq | Array<GaoProductFulfillmentDailyStatView> | gao-product-chart-controller |
| POST | `/gao/product/chart/fulfillment/rank` | fulfillmentRank | - | GaoProductChartReq | Array<GaoProductFulfillmentRankView> | gao-product-chart-controller |
| POST | `/gao/product/chart/sales/daily` | salesDaily | - | GaoProductChartReq | Array<GaoProductSalesDailyStatView> | gao-product-chart-controller |
| POST | `/gao/product/chart/sales/rank` | salesRank | - | GaoProductChartReq | Array<GaoProductSalesRankView> | gao-product-chart-controller |
| POST | `/gao/product/chart/sales/unit/rank` | unitSalesRank | - | GaoProductChartReq | Array<GaoProductUnitSalesRankView> | gao-product-chart-controller |
| POST | `/gao/product/chart/stock/health` | stockHealth | - | GaoProductChartReq | Array<GaoProductStockHealthView> | gao-product-chart-controller |
| POST | `/gao/product/chart/stock/movement/daily` | stockMovementDaily | - | GaoProductChartReq | Array<GaoProductStockMovementDailyStatView> | gao-product-chart-controller |
| POST | `/gao/product/chart/structure/category` | category | - | GaoProductChartReq | Array<GaoProductCategoryStatView> | gao-product-chart-controller |
| POST | `/gao/product/chart/structure/type` | type | - | GaoProductChartReq | Array<GaoProductTypeStatView> | gao-product-chart-controller |
| POST | `/gao/product/create` | create | - | GaoProduct | string | gao-product-controller |
| POST | `/gao/product/delete` | delete | id* | - | - | gao-product-controller |
| POST | `/gao/product/detail` | detail | id* | - | GaoProduct | gao-product-controller |
| POST | `/gao/product/disable` | disable | id* | - | - | gao-product-controller |
| POST | `/gao/product/list` | list | - | GaoProductPage | PageResultGaoProduct | gao-product-controller |
| POST | `/gao/product/sellable/list` | sellableList | - | GaoProductPage | Array<GaoProduct> | gao-product-controller |
| POST | `/gao/product/sku/chart/fulfillment/daily` | fulfillmentDaily | - | GaoProductChartReq | Array<GaoProductSkuFulfillmentDailyStatView> | gao-product-sku-chart-controller |
| POST | `/gao/product/sku/chart/fulfillment/rank` | fulfillmentRank | - | GaoProductChartReq | Array<GaoProductSkuFulfillmentRankView> | gao-product-sku-chart-controller |
| POST | `/gao/product/sku/chart/sales/daily` | salesDaily | - | GaoProductChartReq | Array<GaoProductSkuSalesDailyStatView> | gao-product-sku-chart-controller |
| POST | `/gao/product/sku/chart/sales/rank` | salesRank | - | GaoProductChartReq | Array<GaoProductSkuSalesRankView> | gao-product-sku-chart-controller |
| POST | `/gao/product/sku/chart/sales/unit/rank` | unitSalesRank | - | GaoProductChartReq | Array<GaoProductSkuUnitSalesRankView> | gao-product-sku-chart-controller |
| POST | `/gao/product/sku/chart/stock/health` | stockHealth | - | GaoProductChartReq | Array<GaoProductSkuStockHealthView> | gao-product-sku-chart-controller |
| POST | `/gao/product/sku/chart/stock/movement/daily` | stockMovementDaily | - | GaoProductChartReq | Array<GaoProductSkuStockMovementDailyStatView> | gao-product-sku-chart-controller |
| POST | `/gao/product/sku/create` | skuCreate | - | GaoProductSku | string | gao-product-controller |
| POST | `/gao/product/sku/detail` | skuDetail | id* | - | GaoProductSku | gao-product-controller |
| POST | `/gao/product/sku/disable` | skuDisable | id* | - | - | gao-product-controller |
| POST | `/gao/product/sku/fulfillment-list` | skuFulfillmentList | - | Array<string> | Array<GaoProductSkuFulfillmentView> | gao-product-controller |
| POST | `/gao/product/sku/update` | skuUpdate | - | GaoProductSku | - | gao-product-controller |
| POST | `/gao/product/spec/create` | specCreate | - | GaoProductSpec | string | gao-product-controller |
| POST | `/gao/product/spec/list` | specList | productId* | - | Array<GaoProductSpec> | gao-product-controller |
| POST | `/gao/product/spec/update` | specUpdate | - | GaoProductSpec | - | gao-product-controller |
| POST | `/gao/product/spec/value/create` | specValueCreate | - | GaoProductSpecValue | string | gao-product-controller |
| POST | `/gao/product/spec/value/update` | specValueUpdate | - | GaoProductSpecValue | - | gao-product-controller |
| POST | `/gao/product/stock/batch-detail` | batchDetail | - | GaoProductStockBatchRequest | Array<GaoProductStock> | gao-product-stock-controller |
| POST | `/gao/product/stock/detail` | detail | storeId, skuId* | - | GaoProductStock | gao-product-stock-controller |
| POST | `/gao/product/stock/initial-in` | initialIn | - | GaoProductStockChangeRequest | GaoProductStock | gao-product-stock-controller |
| POST | `/gao/product/stock/list` | list | - | GaoProductStockPage | PageResultGaoProductStock | gao-product-stock-controller |
| POST | `/gao/product/stock/manual-in` | manualIn | - | GaoProductStockChangeRequest | GaoProductStock | gao-product-stock-controller |
| POST | `/gao/product/stock/manual-in/batch` | manualInBatch | - | GaoProductStockManualInBatchRequest | Array<GaoProductStock> | gao-product-stock-controller |
| POST | `/gao/product/stock/manual-out` | manualOut | - | GaoProductStockChangeRequest | GaoProductStock | gao-product-stock-controller |
| POST | `/gao/product/stock/manual-revoke` | manualRevoke | - | GaoProductStockManualRevokeRequest | GaoProductStock | gao-product-stock-controller |
| POST | `/gao/product/stock/product-list` | productList | - | GaoProductStockPage | PageResultGaoProductStockProductView | gao-product-stock-controller |
| POST | `/gao/product/stock/record/detail` | recordDetail | id* | - | GaoProductStockRecord | gao-product-stock-controller |
| POST | `/gao/product/stock/record/list` | recordList | - | GaoProductStockRecordPage | GaoProductStockRecordPageResult | gao-product-stock-controller |
| POST | `/gao/product/stock/stocktake-gain` | stocktakeGain | - | GaoProductStockChangeRequest | GaoProductStock | gao-product-stock-controller |
| POST | `/gao/product/stock/stocktake-loss` | stocktakeLoss | - | GaoProductStockChangeRequest | GaoProductStock | gao-product-stock-controller |
| POST | `/gao/product/update` | update | - | GaoProduct | - | gao-product-controller |
<a id="module-gao-recycle"></a>
## gao-recycle
共 32 个接口,路径前缀 `/gao/recycle/`。
| 方法 | 路径 | 摘要 | 参数 | 请求体 | 响应 | Tag |
| --- | --- | --- | --- | --- | --- | --- |
| POST | `/gao/recycle/account/customers` | customers | - | GaoRecycleAccountCustomerPage | GaoRecycleAccountCustomerPageResult | gao-recycle-account-controller |
| POST | `/gao/recycle/account/items` | accountItems | storeId* | - | Array<GaoRecycleItem> | gao-recycle-account-controller |
| POST | `/gao/recycle/account/list` | list | storeId*, customerId* | - | Array<GaoRecycleAccount> | gao-recycle-account-controller |
| POST | `/gao/recycle/account/yield/delete` | deleteYield | storeId*, skuId*, recycleItemId* | - | - | gao-recycle-account-controller |
| POST | `/gao/recycle/account/yield/list` | yields | storeId*, skuId* | - | Array<GaoRecycleProductYield> | gao-recycle-account-controller |
| POST | `/gao/recycle/account/yield/product/list` | yieldsByProduct | storeId*, productId* | - | Array<GaoRecycleProductYield> | gao-recycle-account-controller |
| POST | `/gao/recycle/account/yield/save` | saveYield | storeId*, skuId*, recycleItemId*, quantityPerBase* | - | - | gao-recycle-account-controller |
| POST | `/gao/recycle/config/item/detail` | itemDetail | storeId, id* | - | GaoRecycleItem | gao-recycle-config-controller |
| POST | `/gao/recycle/config/item/save` | saveItem | - | GaoRecycleItemRequest | GaoRecycleItem | gao-recycle-config-controller |
| POST | `/gao/recycle/config/items` | items | storeId, status, keyword, offset, limit | - | PageResultGaoRecycleItem | gao-recycle-config-controller |
| POST | `/gao/recycle/config/rule/delete` | deleteRule | storeId, id* | - | - | gao-recycle-config-controller |
| POST | `/gao/recycle/config/rule/detail` | ruleDetail | storeId, id* | - | GaoRecycleExchangeRule | gao-recycle-config-controller |
| POST | `/gao/recycle/config/rule/save` | saveRule | - | GaoRecycleExchangeRuleRequest | GaoRecycleExchangeRule | gao-recycle-config-controller |
| POST | `/gao/recycle/config/rules` | rules | storeId, status, recycleItemId, skuId, keyword, offset, limit | - | PageResultGaoRecycleExchangeRule | gao-recycle-config-controller |
| POST | `/gao/recycle/config/rules/active` | activeRules | storeId, recycleItemId, skuId, keyword, offset, limit | - | PageResultGaoRecycleExchangeRule | gao-recycle-config-controller |
| POST | `/gao/recycle/exchange/create` | create | - | GaoRecycleExchangeCreateRequest | GaoRecycleExchange | gao-recycle-exchange-write-controller |
| POST | `/gao/recycle/exchange/detail` | detail | id* | - | GaoRecycleExchangeDetail | gao-recycle-exchange-query-controller |
| POST | `/gao/recycle/ledger/adjust` | adjust | - | GaoRecycleAccountAdjustRequest | - | gao-recycle-ledger-controller |
| POST | `/gao/recycle/ledger/detail` | detail | id* | - | GaoRecycleLedger | gao-recycle-ledger-controller |
| POST | `/gao/recycle/ledger/list` | list | - | GaoRecycleLedgerPage | PageResultGaoRecycleLedger | gao-recycle-ledger-controller |
| POST | `/gao/recycle/payment/cancel` | cancel | - | GaoRecyclePaymentRequest | GaoRecyclePayment | gao-recycle-payment-controller |
| POST | `/gao/recycle/payment/create` | create | - | GaoRecyclePaymentRequest | GaoRecyclePayment | gao-recycle-payment-controller |
| POST | `/gao/recycle/payment/create-and-verify` | createAndVerify | - | GaoRecyclePaymentRequest | GaoRecyclePayment | gao-recycle-payment-controller |
| POST | `/gao/recycle/payment/detail` | detail | id* | - | GaoRecyclePayment | gao-recycle-payment-controller |
| POST | `/gao/recycle/payment/list` | list | orderId* | - | Array<GaoRecyclePayment> | gao-recycle-payment-controller |
| POST | `/gao/recycle/payment/reject` | reject | - | GaoRecyclePaymentRequest | GaoRecyclePayment | gao-recycle-payment-controller |
| POST | `/gao/recycle/payment/revoke` | revoke | - | GaoRecyclePaymentRequest | GaoRecyclePayment | gao-recycle-payment-controller |
| POST | `/gao/recycle/payment/search` | search | storeId, customerId, orderId, status, beginAt, endAt, offset, limit | - | Array<GaoRecyclePayment> | gao-recycle-payment-controller |
| POST | `/gao/recycle/payment/transactions` | transactions | orderId* | - | Array<GaoOrderTransactionView> | gao-recycle-payment-controller |
| POST | `/gao/recycle/payment/verify` | verify | - | GaoRecyclePaymentRequest | GaoRecyclePayment | gao-recycle-payment-controller |
| POST | `/gao/recycle/stat/exchange` | exchange | storeId, startAt*, endAt* | - | Array<GaoRecycleExchangeStatView> | gao-recycle-stat-controller |
| POST | `/gao/recycle/stat/recycle` | recycle | storeId, startAt*, endAt* | - | Array<GaoRecycleStatView> | gao-recycle-stat-controller |
<a id="module-gao-report"></a>
## gao-report
共 1 个接口,路径前缀 `/gao/report/`。
| 方法 | 路径 | 摘要 | 参数 | 请求体 | 响应 | Tag |
| --- | --- | --- | --- | --- | --- | --- |
| POST | `/gao/report/options/customers` | customers | storeId, keyword, offset | - | Array<GaoReportOption> | gao-report-option-controller |
<a id="module-gao-role"></a>
## gao-role
共 2 个接口,路径前缀 `/gao/role/`。
| 方法 | 路径 | 摘要 | 参数 | 请求体 | 响应 | Tag |
| --- | --- | --- | --- | --- | --- | --- |
| POST | `/gao/role/available/list` | availableList | - | - | Array<Role> | gao-role-controller |
| POST | `/gao/role/management/list` | managementList | - | - | Array<Role> | gao-role-controller |
<a id="module-gao-sales"></a>
## gao-sales
共 27 个接口,路径前缀 `/gao/sales/`。
| 方法 | 路径 | 摘要 | 参数 | 请求体 | 响应 | Tag |
| --- | --- | --- | --- | --- | --- | --- |
| POST | `/gao/sales/order/cancel` | cancel | - | GaoSalesOrderCancelRequest | GaoSalesOrder | gao-sales-order-controller |
| POST | `/gao/sales/order/chart/customer/calendar` | calendar | - | GaoSalesOrderChartReq | Array<GaoSalesOrderCalendarStatView> | gao-sales-order-chart-controller |
| POST | `/gao/sales/order/chart/customer/consumption/daily` | consumptionDaily | - | GaoSalesOrderChartReq | Array<GaoSalesOrderConsumptionDailyStatView> | gao-sales-order-chart-controller |
| POST | `/gao/sales/order/chart/customer/product/rank` | customerProductRank | - | GaoSalesOrderChartReq | Array<GaoCustomerOrderProductRankView> | gao-sales-order-chart-controller |
| POST | `/gao/sales/order/chart/customer/rank` | customerRank | - | GaoSalesOrderChartReq | Array<GaoCustomerOrderRankView> | gao-sales-order-chart-controller |
| POST | `/gao/sales/order/chart/customer/repeat/daily` | repeatDaily | - | GaoSalesOrderChartReq | Array<GaoCustomerRepeatDailyStatView> | gao-sales-order-chart-controller |
| POST | `/gao/sales/order/chart/customer/repeat/interval` | repeatInterval | - | GaoSalesOrderChartReq | Array<GaoCustomerRepeatIntervalStatView> | gao-sales-order-chart-controller |
| POST | `/gao/sales/order/chart/customer/sku/rank` | customerSkuRank | - | GaoSalesOrderChartReq | Array<GaoCustomerOrderSkuRankView> | gao-sales-order-chart-controller |
| POST | `/gao/sales/order/chart/daily` | daily | - | GaoSalesOrderChartReq | Array<GaoSalesOrderDailyStatView> | gao-sales-order-chart-controller |
| POST | `/gao/sales/order/chart/payment` | payment | - | GaoSalesOrderChartReq | Array<GaoSalesOrderPaymentStatView> | gao-sales-order-chart-controller |
| POST | `/gao/sales/order/chart/receivable` | receivable | - | GaoSalesOrderChartReq | GaoSalesOrderReceivableStatView | gao-sales-order-chart-controller |
| POST | `/gao/sales/order/chart/status` | status | - | GaoSalesOrderChartReq | Array<GaoSalesOrderStatusStatView> | gao-sales-order-chart-controller |
| POST | `/gao/sales/order/chart/type` | type | - | GaoSalesOrderChartReq | Array<GaoSalesOrderTypeStatView> | gao-sales-order-chart-controller |
| POST | `/gao/sales/order/customer-product/list` | customerProductList | - | GaoCustomerProductPage | PageResultGaoCustomerProductCustomerView | gao-sales-order-controller |
| POST | `/gao/sales/order/detail` | detail | id* | - | GaoSalesOrder | gao-sales-order-controller |
| POST | `/gao/sales/order/direct-product/create` | createDirectProduct | - | GaoDirectProductOrderCreateRequest | GaoSalesOrder | gao-sales-order-controller |
| POST | `/gao/sales/order/fund/revoke` | revoke | - | GaoOrderPaymentRevokeRequest | GaoFundRecord | gao-sales-order-controller |
| POST | `/gao/sales/order/list` | list | - | GaoSalesOrderPage | PageResultGaoSalesOrder | gao-sales-order-controller |
| POST | `/gao/sales/order/payment/cancel` | cancelPayment | - | GaoOrderPaymentActionRequest | GaoFundRecord | gao-sales-order-controller |
| POST | `/gao/sales/order/payment/receive` | receive | - | GaoOrderPaymentReceiveRequest | GaoFundRecord | gao-sales-order-controller |
| POST | `/gao/sales/order/payment/receive-and-verify` | receiveAndVerify | - | GaoOrderPaymentReceiveRequest | GaoFundRecord | gao-sales-order-controller |
| POST | `/gao/sales/order/payment/reject` | reject | - | GaoOrderPaymentActionRequest | GaoFundRecord | gao-sales-order-controller |
| POST | `/gao/sales/order/payment/verify` | verify | id* | - | GaoFundRecord | gao-sales-order-controller |
| POST | `/gao/sales/order/refund` | refund | - | GaoOrderPaymentRefundRequest | GaoFundRecord | gao-sales-order-controller |
| POST | `/gao/sales/order/refund/confirm-none` | confirmNoRefund | - | GaoOrderPaymentNoRefundRequest | GaoFundRecord | gao-sales-order-controller |
| POST | `/gao/sales/order/summary` | summary | - | GaoSalesOrderPage | GaoSalesOrderReceivableStatView | gao-sales-order-controller |
| POST | `/gao/sales/order/update` | update | - | GaoSalesOrderUpdateRequest | GaoSalesOrder | gao-sales-order-controller |
<a id="module-gao-store"></a>
## gao-store
共 28 个接口,路径前缀 `/gao/store/`。
| 方法 | 路径 | 摘要 | 参数 | 请求体 | 响应 | Tag |
| --- | --- | --- | --- | --- | --- | --- |
| POST | `/gao/store/business/day/calendar` | calendar | storeId*, beginDateValue*, endDateValue* | - | Array<GaoStoreBusinessDay> | gao-store-business-day-controller |
| POST | `/gao/store/business/day/create` | create | - | GaoStoreBusinessDay | string | gao-store-business-day-controller |
| POST | `/gao/store/business/day/delete` | delete | id* | - | - | gao-store-business-day-controller |
| POST | `/gao/store/business/day/detail` | detail | id* | - | GaoStoreBusinessDay | gao-store-business-day-controller |
| POST | `/gao/store/business/day/list` | list | - | PageGaoStoreBusinessDay | PageResultGaoStoreBusinessDay | gao-store-business-day-controller |
| POST | `/gao/store/business/day/update` | update | - | GaoStoreBusinessDay | - | gao-store-business-day-controller |
| POST | `/gao/store/chart/customer/age` | customerAge | storeId* | - | Array<GaoCustomerAgeStatView> | gao-store-chart-controller |
| POST | `/gao/store/chart/customer/daily` | customerDaily | - | GaoStoreChartReq | Array<GaoCustomerDailyStateView> | gao-store-chart-controller |
| POST | `/gao/store/chart/customer/gender` | customerGender | storeId* | - | Array<GaoCustomerGenderStatView> | gao-store-chart-controller |
| POST | `/gao/store/chart/event/record/calendar` | eventRecordCalendar | - | GaoStoreChartReq | Array<GaoEventRecordCalendarView> | gao-store-chart-controller |
| POST | `/gao/store/chart/event/record/daily` | eventRecordDaily | - | GaoStoreChartReq | Array<GaoEventRecordDailyStatView> | gao-store-chart-controller |
| POST | `/gao/store/chart/event/record/number-value/daily` | eventRecordNumberValueDaily | - | GaoStoreChartReq | Array<GaoEventRecordNumberValueDailyStatView> | gao-store-chart-controller |
| POST | `/gao/store/chart/point/ledger/daily` | pointDaily | - | GaoStoreChartReq | Array<GaoPointDailyStatView> | gao-store-chart-controller |
| POST | `/gao/store/chart/point/redemption/product/rank` | pointRedemptionProductRank | - | GaoStoreChartReq | Array<GaoPointRedemptionProductRankView> | gao-store-chart-controller |
| POST | `/gao/store/create` | create | - | GaoStore | string | gao-store-controller |
| POST | `/gao/store/delete` | delete | id* | - | - | gao-store-controller |
| POST | `/gao/store/detail` | detail | id* | - | GaoStore | gao-store-controller |
| POST | `/gao/store/diary/create` | create | - | Article | string | gao-store-diary-controller |
| POST | `/gao/store/diary/delete` | delete | id* | - | - | gao-store-diary-controller |
| POST | `/gao/store/diary/detail` | detail | id* | - | Article_Public | gao-store-diary-controller |
| POST | `/gao/store/diary/list` | list | - | GaoStoreDiaryPage_Public | PageResultArticle_Public | gao-store-diary-controller |
| POST | `/gao/store/diary/update` | update | - | Article | - | gao-store-diary-controller |
| POST | `/gao/store/list` | list | - | PageGaoStore | PageResultGaoStore | gao-store-controller |
| POST | `/gao/store/setting/map` | map | - | Array<string> | Map<String, Setting> | gao-store-setting-controller |
| POST | `/gao/store/setting/update` | update | - | Array<Setting> | - | gao-store-setting-controller |
| POST | `/gao/store/sort` | sort | - | Array<string> | - | gao-store-controller |
| POST | `/gao/store/update` | update | - | GaoStore | - | gao-store-controller |
| POST | `/gao/store/user` | getLoginStore | - | - | GaoStore | gao-store-controller |
<a id="module-gao-tag"></a>
## gao-tag
共 7 个接口,路径前缀 `/gao/tag/`。
| 方法 | 路径 | 摘要 | 参数 | 请求体 | 响应 | Tag |
| --- | --- | --- | --- | --- | --- | --- |
| POST | `/gao/tag/apply` | apply | - | TagApply | - | gao-tag-controller |
| POST | `/gao/tag/create` | create | - | Tag_Public | Tag_Public | gao-tag-controller |
| POST | `/gao/tag/delete` | delete | id* | - | - | gao-tag-controller |
| POST | `/gao/tag/detail` | detail | id* | - | Tag_Public | gao-tag-controller |
| POST | `/gao/tag/list` | list | - | PageTag_Public | PageResultTag_Public | gao-tag-controller |
| GET | `/gao/tag/list/biz/id` | listByBizType | bizType*, bizId* | - | Array<Tag_Public> | gao-tag-controller |
| POST | `/gao/tag/update` | update | - | Tag | - | gao-tag-controller |
<a id="module-gao-user"></a>
## gao-user
共 10 个接口,路径前缀 `/gao/user/`。
| 方法 | 路径 | 摘要 | 参数 | 请求体 | 响应 | Tag |
| --- | --- | --- | --- | --- | --- | --- |
| POST | `/gao/user/create` | create | - | GaoUser_Public | GaoUser_Public | gao-user-controller |
| POST | `/gao/user/delete` | delete | id* | - | - | gao-user-controller |
| POST | `/gao/user/detail` | detail | id* | - | GaoUser_Public | gao-user-controller |
| POST | `/gao/user/invite` | invite | - | GaoUserInviteCreateRequest | GaoUserInviteCreateResponse | gao-user-controller |
| POST | `/gao/user/invite/register` | registerByInvite | - | GaoUserInviteRegisterRequest_Public | LoginResponse_Public | gao-user-controller |
| POST | `/gao/user/invite/validate` | validateInvite | - | GaoUserInviteValidateRequest | GaoUserInviteValidateResponse | gao-user-controller |
| POST | `/gao/user/list` | list | - | PageGaoUser_Public | PageResultGaoUser_Public | gao-user-controller |
| POST | `/gao/user/role/list` | roleList | - | - | Array<Role> | gao-user-controller |
| POST | `/gao/user/transfer/store` | transferStore | - | GaoUser_Public | GaoUser_Public | gao-user-controller |
| POST | `/gao/user/update` | update | - | GaoUser_Public | GaoUser_Public | gao-user-controller |
<a id="module-system"></a>
## system
共 48 个接口,路径前缀 `/system/`。
| 方法 | 路径 | 摘要 | 参数 | 请求体 | 响应 | Tag |
| --- | --- | --- | --- | --- | --- | --- |
| GET | `/system/docker/container` | listContainers | - | - | Array<DockerContainerSummaryView> | docker-controller |
| GET | `/system/docker/container/{containerId}/history` | getContainerHistory | containerId*, window | - | DockerContainerHistoryView | docker-controller |
| GET | `/system/docker/container/{containerId}/status` | getContainerStatus | containerId* | - | DockerContainerStatusView | docker-controller |
| POST | `/system/file/copy` | 创建复制任务 | - | ArchiveRequest | string | 系统-文件归档 |
| POST | `/system/file/cut` | 创建移动任务 | - | ArchiveRequest | string | 系统-文件归档 |
| POST | `/system/file/delete` | 删除到回收站 | - | FileListRequest | Array<FileTrash> | 系统-文件回收站 |
| GET/HEAD | `/system/file/download/{path}` | 下载文件 | path* | - | - | 系统-文件内容 |
| GET | `/system/file/exist` | 判断路径是否存在 | path* | - | boolean | 系统-文件 |
| GET | `/system/file/hash` | 计算文件 SHA-256 | path* | - | FileHash | 系统-文件 |
| GET | `/system/file/list` | 获取目录列表 | path | - | Array<ServerFile> | 系统-文件 |
| POST | `/system/file/mkdir` | 创建目录 | - | MkdirRequest | ServerFile | 系统-文件 |
| GET | `/system/file/object/{path}` | 获取文件属性 | path* | - | ServerFile | 系统-文件 |
| GET | `/system/file/preview/{path}` | 预览文件 | path* | - | - | 系统-文件内容 |
| GET | `/system/file/read/{path}` | 读取文件 | path* | - | - | 系统-文件内容 |
| POST | `/system/file/rename` | 重命名或移动 | - | RenameRequest | ServerFile | 系统-文件 |
| POST | `/system/file/search` | 搜索文件 | - | SearchRequest | SearchResult | 系统-文件 |
| GET | `/system/file/share` | 获取分享列表 | - | - | Array<FileShare> | 系统-文件分享 |
| POST | `/system/file/share` | 创建文件分享 | - | ShareCreateRequest | FileShare | 系统-文件分享 |
| DELETE | `/system/file/share/{id}` | 取消文件分享 | id* | - | FileShare | 系统-文件分享 |
| GET/HEAD | `/system/file/share/{token}/download` | [公开] 下载分享文件 | token*, password | - | - | 系统-文件分享 |
| POST | `/system/file/size` | 统计目录大小 | - | PathRequest | string | 系统-文件 |
| POST | `/system/file/tar` | 创建 TAR 压缩任务 | - | ArchiveRequest | string | 系统-文件归档 |
| GET | `/system/file/trash` | 获取回收站列表 | - | - | Array<FileTrash> | 系统-文件回收站 |
| DELETE | `/system/file/trash` | 清空回收站 | - | - | integer | 系统-文件回收站 |
| POST | `/system/file/trash/restore` | 恢复回收站文件 | - | IdRequest | ServerFile | 系统-文件回收站 |
| DELETE | `/system/file/trash/{id}` | 彻底删除回收站记录 | id* | - | - | 系统-文件回收站 |
| POST | `/system/file/untar` | 创建 TAR 解压任务 | - | UnarchiveRequest | string | 系统-文件归档 |
| POST | `/system/file/unzip` | 创建 ZIP 解压任务 | - | UnarchiveRequest | string | 系统-文件归档 |
| POST | `/system/file/upload` | 上传文件 | path*, name*, overwrite | object{file} | ServerFile | 系统-文件上传 |
| POST | `/system/file/upload/chunk` | 上传分片 | uploadId*, index* | object{file} | - | 系统-文件上传 |
| POST | `/system/file/upload/complete` | 完成分片上传 | - | UploadCompleteRequest | ServerFile | 系统-文件上传 |
| POST | `/system/file/upload/init` | 初始化分片上传 | - | UploadInitRequest | UploadInit | 系统-文件上传 |
| POST | `/system/file/zip` | 创建 ZIP 压缩任务 | - | ArchiveRequest | string | 系统-文件归档 |
| POST | `/system/multilingual/create` | create | - | Multilingual_Admin | Multilingual_Admin | multilingual-controller |
| POST | `/system/multilingual/delete` | delete | id* | - | - | multilingual-controller |
| POST | `/system/multilingual/detail` | detail | id* | - | Multilingual_Admin | multilingual-controller |
| POST | `/system/multilingual/update` | update | - | Multilingual | - | multilingual-controller |
| GET | `/system/server/status` | getStatus | metrics | - | SystemStatusSnapshotView | system-controller |
| GET | `/system/server/status/history` | getStatusHistory | window, metrics | - | SystemStatusHistoryView | system-controller |
| POST | `/system/task/debug` | 创建调试任务 | second | - | string | 系统-异步任务 |
| GET | `/system/task/detail` | 获取任务详情 | uuid* | - | AbstractAsyncTask | 系统-异步任务 |
| GET | `/system/task/events` | 订阅任务事件 | uuid* | - | SSE | 系统-异步任务 |
| POST | `/system/task/interrupt` | 中断任务 | uuid* | - | - | 系统-异步任务 |
| POST | `/system/task/list` | 获取任务列表 | - | - | Array<AsyncTaskView> | 系统-异步任务 |
| POST | `/system/task/pause` | 暂停任务 | uuid* | - | - | 系统-异步任务 |
| POST | `/system/task/start` | 启动任务 | uuid* | - | - | 系统-异步任务 |
| GET | `/system/ups/history` | getHistory | window | - | UpsHistoryView | ups-controller |
| GET | `/system/ups/status` | getStatus | - | - | UpsStatusView | ups-controller |
<a id="module-user"></a>
## user
共 44 个接口,路径前缀 `/user/`。
| 方法 | 路径 | 摘要 | 参数 | 请求体 | 响应 | Tag |
| --- | --- | --- | --- | --- | --- | --- |
| POST | `/user/api-key/create` | create | - | CreateRequest | CreateResult | user-api-key-controller |
| POST | `/user/api-key/delete` | delete | id* | - | - | user-api-key-controller |
| POST | `/user/api-key/list` | list | - | - | Array<KeyInfo> | user-api-key-controller |
| POST | `/user/api-key/revoke` | revoke | id* | - | - | user-api-key-controller |
| POST | `/user/cancel` | cancel | - | CancelRequest | - | user-controller |
| POST | `/user/create` | create | - | User | - | user-controller |
| POST | `/user/current/update` | updateCurrent | - | User | LoginResponse | user-controller |
| GET/HEAD/POST/PUT/PATCH/DELETE/OPTIONS | `/user/delete` | delete | id* | - | - | user-controller |
| GET/HEAD/POST/PUT/PATCH/DELETE/OPTIONS | `/user/detail` | detail | id* | - | User | user-controller |
| POST | `/user/list` | list | - | PageUser | PageResultUser | user-controller |
| POST | `/user/login` | login | - | CaptchaDataLoginRequest_Public | LoginResponse_Public | user-controller |
| POST | `/user/login/sms` | loginBySms | - | SmsCaptchaVerifyRequest_Public | LoginResponse_Public | user-controller |
| GET/HEAD/POST/PUT/PATCH/DELETE/OPTIONS | `/user/login/token` | token | - | - | LoginResponse_Public | user-controller |
| POST | `/user/logout` | logout | - | - | - | user-controller |
| POST | `/user/permission/create` | create | - | Permission | - | permission-controller |
| POST | `/user/permission/create/batch` | createBatch | - | BatchCreateReq | - | permission-controller |
| POST | `/user/permission/delete` | delete | id* | - | - | permission-controller |
| POST | `/user/permission/grantable/list` | listGrantable | moduleCode* | - | Array<Permission> | permission-controller |
| POST | `/user/permission/list` | list | - | PagePermission | PageResultPermission | permission-controller |
| POST | `/user/permission/update` | update | - | Permission | - | permission-controller |
| POST | `/user/phone/verify` | verifyPhone | - | PhoneVerifyRequest | - | user-controller |
| POST | `/user/phone/verify/send` | sendPhoneCode | - | PhoneVerifyCodeSendRequest | - | user-controller |
| POST | `/user/register` | register | - | CaptchaDataUser_Public | LoginResponse_Public | user-controller |
| POST | `/user/role/authorized/create` | authorizeUserRole | - | UserRoleAuthorizeRequest | - | role-controller |
| POST | `/user/role/authorized/list` | listUserRole | moduleCode, userId* | - | Array<Role> | role-controller |
| POST | `/user/role/authorized/permission` | listAuthorizedPermission | userId* | - | Array<Permission> | role-controller |
| POST | `/user/role/create` | create | - | Role | - | role-controller |
| POST | `/user/role/current/detail/list` | listCurrentRoleDetail | moduleCode | - | Array<Role> | role-controller |
| POST | `/user/role/delegation/grantable/list` | listGrantableDelegationPermission | roleId* | - | Array<Permission> | role-controller |
| POST | `/user/role/delegation/list` | listDelegationPermission | roleId* | - | Array<Permission> | role-controller |
| POST | `/user/role/delegation/update` | updateRoleDelegation | - | Role | - | role-controller |
| POST | `/user/role/delete` | delete | id* | - | - | role-controller |
| POST | `/user/role/detail` | detail | id* | - | Role | role-controller |
| POST | `/user/role/grantable/list` | listGrantableRole | moduleCode* | - | Array<Role> | role-controller |
| POST | `/user/role/list` | list | - | PageRole | PageResultRole | role-controller |
| POST | `/user/role/manageable/list` | listManageableRole | moduleCode* | - | Array<Role> | role-controller |
| POST | `/user/role/parent/create/grantable/list` | listCreateGrantableParentRole | moduleCode* | - | Array<Role> | role-controller |
| POST | `/user/role/parent/grantable/list` | listGrantableParentRole | roleId* | - | Array<Role> | role-controller |
| POST | `/user/role/parent/update` | updateRoleParent | - | Role | - | role-controller |
| POST | `/user/role/permission/grantable/list` | listGrantableRolePermission | roleId* | - | Array<Permission> | role-controller |
| POST | `/user/role/update` | update | - | Role | - | role-controller |
| POST | `/user/update` | update | - | User | - | user-controller |
| POST | `/user/update/email` | updateEmail | - | - | - | user-controller |
| POST | `/user/update/password` | updatePassword | - | UpdatePasswordRequest | - | user-controller |
<a id="module-app"></a>
## app
共 13 个接口,路径前缀 `/app/`。
| 方法 | 路径 | 摘要 | 参数 | 请求体 | 响应 | Tag |
| --- | --- | --- | --- | --- | --- | --- |
| POST | `/app/channel/delete` | channelDelete | channelId* | - | - | app-release-controller |
| GET | `/app/channel/list` | channelList | productId* | - | Array<AppChannel> | app-release-controller |
| POST | `/app/product/delete` | productDelete | productId* | - | - | app-release-controller |
| POST | `/app/product/list` | productList | - | - | Array<AppProduct> | app-release-controller |
| POST | `/app/product/save` | productSave | - | AppProduct | AppProduct | app-release-controller |
| POST | `/app/release/create` | releaseCreate | - | AppRelease | AppRelease | app-release-controller |
| POST | `/app/release/delete` | releaseDelete | releaseId* | - | - | app-release-controller |
| GET | `/app/release/list` | releaseList | productId* | - | Array<AppRelease> | app-release-controller |
| POST | `/app/release/publish` | publish | releaseId*, channelCode, grayPermille, note | - | - | app-release-controller |
| POST | `/app/release/revoke` | revoke | releaseId* | - | - | app-release-controller |
| POST | `/app/release/rollback` | rollback | productId*, channelCode, targetReleaseId* | - | - | app-release-controller |
| POST | `/app/update/check` | check | - | AppUpdateCheckRequest | AppUpdateCheckResponse | app-update-controller |
| POST | `/app/update/notes` | notes | - | AppUpdateCheckRequest | AppUpdateNotesResponse | app-update-controller |
<a id="module-.well-known"></a>
## .well-known
共 6 个接口,路径前缀 `/.well-known/`。
| 方法 | 路径 | 摘要 | 参数 | 请求体 | 响应 | Tag |
| --- | --- | --- | --- | --- | --- | --- |
| GET | `/.well-known/oauth-authorization-server` | notSupported | - | - | - | gao-ai-mcp-o-auth-discovery-controller |
| GET | `/.well-known/oauth-authorization-server/mcp/gao-ai` | notSupported | - | - | - | gao-ai-mcp-o-auth-discovery-controller |
| GET | `/.well-known/oauth-protected-resource` | notSupported | - | - | - | gao-ai-mcp-o-auth-discovery-controller |
| GET | `/.well-known/oauth-protected-resource/mcp/gao-ai` | notSupported | - | - | - | gao-ai-mcp-o-auth-discovery-controller |
| GET | `/.well-known/openid-configuration` | notSupported | - | - | - | gao-ai-mcp-o-auth-discovery-controller |
| GET | `/.well-known/openid-configuration/mcp/gao-ai` | notSupported | - | - | - | gao-ai-mcp-o-auth-discovery-controller |
<a id="module-article"></a>
## article
共 5 个接口,路径前缀 `/article/`。
| 方法 | 路径 | 摘要 | 参数 | 请求体 | 响应 | Tag |
| --- | --- | --- | --- | --- | --- | --- |
| POST | `/article/create` | create | - | Article_Public | Article_Public | article-controller |
| POST | `/article/delete` | delete | id* | - | - | article-controller |
| GET/HEAD/POST/PUT/PATCH/DELETE/OPTIONS | `/article/detail` | detail | id* | - | Article_Public | article-controller |
| POST | `/article/list` | list | - | PageArticle_Public | PageResultArticle_Public | article-controller |
| POST | `/article/update` | update | - | Article | - | article-controller |
<a id="module-attach"></a>
## attach
共 14 个接口,路径前缀 `/attach/`。
| 方法 | 路径 | 摘要 | 参数 | 请求体 | 响应 | Tag |
| --- | --- | --- | --- | --- | --- | --- |
| GET | `/attach/count/biz` | countByBiz | bizType*, bizId*, attachTypeList | - | integer | attachment-controller |
| POST | `/attach/create` | create | - | Attachment (multipart/form-data) | Attachment | attachment-controller |
| POST | `/attach/delete` | delete | id* | - | - | attachment-controller |
| POST | `/attach/detail` | detail | id* | - | Attachment | attachment-controller |
| GET | `/attach/detail/byAttachType` | detailByAttachType | bizType*, bizId*, attachType* | - | Attachment | attachment-controller |
| GET | `/attach/detail/byBiz` | detailByBiz | bizType*, bizId* | - | Attachment | attachment-controller |
| GET | `/attach/download/{id}` | readById | id*, thumbWidth, thumbHeight, fitMode | - | - | attachment-controller |
| GET | `/attach/list/biz` | listByBiz | bizType*, bizId*, attachTypeList | - | Array<Attachment> | attachment-controller |
| POST | `/attach/page/biz` | pageByBiz | bizType*, bizId*, attachTypeList | PageAttachment | PageResultAttachment | attachment-controller |
| GET | `/attach/read/{id}` | readById | id*, thumbWidth, thumbHeight, fitMode | - | - | attachment-controller |
| GET | `/attach/temp/download` | read | id* | - | - | attachment-controller |
| GET | `/attach/temp/read` | read | id* | - | - | attachment-controller |
| POST | `/attach/temp/upload` | upload | file*, ttl | - | Array<TempFileResp> | attachment-controller |
| POST | `/attach/update` | update | - | Attachment (multipart/form-data) | - | attachment-controller |
<a id="module-captcha"></a>
## captcha
共 2 个接口,路径前缀 `/captcha/`。
| 方法 | 路径 | 摘要 | 参数 | 请求体 | 响应 | Tag |
| --- | --- | --- | --- | --- | --- | --- |
| GET | `/captcha` | captcha | width*, height* | - | Result | common-controller |
| GET | `/captcha/img` | captchaImg | width*, height* | - | - | common-controller |
<a id="module-comment"></a>
## comment
共 13 个接口,路径前缀 `/comment/`。
| 方法 | 路径 | 摘要 | 参数 | 请求体 | 响应 | Tag |
| --- | --- | --- | --- | --- | --- | --- |
| POST | `/comment/create` | create | - | CommentCreateReq_Public | Comment_Public | comment-controller |
| POST | `/comment/delete` | delete | id*, userId* | - | - | comment-controller |
| GET | `/comment/detail/tree` | detailTree | id*, currentUserId | - | Comment_Public | comment-controller |
| GET | `/comment/flat/list` | listFlatRoot | bizType*, bizId*, offset, currentUserId | - | FlatCommentListResp_Public | comment-controller |
| GET | `/comment/flat/thread` | getFlatThread | commentId*, offset, currentUserId | - | CommentThreadResp_Public | comment-controller |
| POST | `/comment/layer/list` | listLayer | currentUserId | CommentLayerQueryReq_Public | CommentLayerResp_Public | comment-controller |
| POST | `/comment/like` | like | commentId*, userId* | - | - | comment-controller |
| POST | `/comment/like/list` | listLikedRecord | userId* | PageUserBehaviorRecord_Public | PageResultUserBehaviorRecord_Public | comment-controller |
| GET | `/comment/nested/children` | getNestedChildren | commentId*, offset, currentUserId | - | CommentLayerResp_Public | comment-controller |
| GET | `/comment/nested/detail` | getNestedDetail | commentId*, currentUserId | - | CommentNodeResp_Public | comment-controller |
| GET | `/comment/nested/list` | listNestedRoot | bizType*, bizId*, offset, currentUserId | - | NestedCommentListResp_Public | comment-controller |
| POST | `/comment/reply` | reply | - | CommentReplyReq_Public | Comment_Public | comment-controller |
| POST | `/comment/unlike` | unlike | commentId*, userId* | - | - | comment-controller |
<a id="module-feedback"></a>
## feedback
共 5 个接口,路径前缀 `/feedback/`。
| 方法 | 路径 | 摘要 | 参数 | 请求体 | 响应 | Tag |
| --- | --- | --- | --- | --- | --- | --- |
| POST | `/feedback/create` | create | - | CaptchaDataFeedback_Public | - | feedback-controller |
| POST | `/feedback/delete` | delete | id* | - | - | feedback-controller |
| POST | `/feedback/detail` | detail | id* | - | Feedback_Admin | feedback-controller |
| POST | `/feedback/list` | list | - | PageFeedback_Admin | PageResultFeedback_Admin | feedback-controller |
| POST | `/feedback/update` | update | - | Feedback | - | feedback-controller |
<a id="module-fmc"></a>
## fmc
共 1 个接口,路径前缀 `/fmc/`。
| 方法 | 路径 | 摘要 | 参数 | 请求体 | 响应 | Tag |
| --- | --- | --- | --- | --- | --- | --- |
| POST | `/fmc/server/report` | report | - | - | - | server-controller |
<a id="module-icon"></a>
## icon
共 4 个接口,路径前缀 `/icon/`。
| 方法 | 路径 | 摘要 | 参数 | 请求体 | 响应 | Tag |
| --- | --- | --- | --- | --- | --- | --- |
| GET | `/icon/export/ttf` | exportTtf | - | - | - | icon-controller |
| GET | `/icon/name/list` | listName | - | - | Array<string> | icon-controller |
| GET | `/icon/svg/map` | mapSvg | - | - | Map<String, string> | icon-controller |
| GET | `/icon/unicode/map` | mapUnicode | - | - | Map<String, string> | icon-controller |
<a id="module-journal"></a>
## journal
共 7 个接口,路径前缀 `/journal/`。
| 方法 | 路径 | 摘要 | 参数 | 请求体 | 响应 | Tag |
| --- | --- | --- | --- | --- | --- | --- |
| GET | `/journal/tool/memo` | getMemo | - | - | string | tool-controller |
| POST | `/journal/tool/memo/update` | updateMemo | data* | - | - | tool-controller |
| POST | `/journal/travel/create` | create | - | Travel | - | travel-controller |
| POST | `/journal/travel/delete` | delete | - | string | - | travel-controller |
| POST | `/journal/travel/list` | list | - | PageTravel | PageResultTravel | travel-controller |
| POST | `/journal/travel/update` | update | - | Travel | - | travel-controller |
| GET | `/journal/travel/{id}` | detail | id* | - | Travel | travel-controller |
<a id="module-log"></a>
## log
共 1 个接口,路径前缀 `/log/`。
| 方法 | 路径 | 摘要 | 参数 | 请求体 | 响应 | Tag |
| --- | --- | --- | --- | --- | --- | --- |
| POST | `/log/create` | create | - | ClientLogRequest | - | logger-controller |
<a id="module-mcp"></a>
## mcp
共 5 个接口,路径前缀 `/mcp/`。
| 方法 | 路径 | 摘要 | 参数 | 请求体 | 响应 | Tag |
| --- | --- | --- | --- | --- | --- | --- |
| POST | `/mcp/gao-ai` | handle | header:Authorization, header:X-Timi-AI-Session | JsonNode | object | gao-ai-mcp-controller |
| POST | `/mcp/gao-ai-commit` | handle | header:Authorization, header:X-Timi-AI-Session | JsonNode | object | gao-ai-mcp-commit-controller |
| GET | `/mcp/gao-ai/.well-known/oauth-authorization-server` | notSupported | - | - | - | gao-ai-mcp-o-auth-discovery-controller |
| GET | `/mcp/gao-ai/.well-known/oauth-protected-resource` | notSupported | - | - | - | gao-ai-mcp-o-auth-discovery-controller |
| GET | `/mcp/gao-ai/.well-known/openid-configuration` | notSupported | - | - | - | gao-ai-mcp-o-auth-discovery-controller |
<a id="module-mirror"></a>
## mirror
共 2 个接口,路径前缀 `/mirror/`。
| 方法 | 路径 | 摘要 | 参数 | 请求体 | 响应 | Tag |
| --- | --- | --- | --- | --- | --- | --- |
| GET | `/mirror/list` | list | - | - | Array<MirrorView> | mirror-controller |
| GET | `/mirror/{mirrorName}` | get | mirrorName* | - | JsonNode | mirror-controller |
<a id="module-notify"></a>
## notify
共 15 个接口,路径前缀 `/notify/`。
| 方法 | 路径 | 摘要 | 参数 | 请求体 | 响应 | Tag |
| --- | --- | --- | --- | --- | --- | --- |
| POST | `/notify/cancel` | cancel | id* | - | - | notify-controller |
| POST | `/notify/create` | create | - | Notify | Notify | notify-controller |
| POST | `/notify/delete` | delete | id* | - | - | notify-controller |
| GET/HEAD/POST/PUT/PATCH/DELETE/OPTIONS | `/notify/detail` | detail | id* | - | Notify_Public | notify-controller |
| POST | `/notify/internal/delete` | deleteInternal | id* | - | - | notify-controller |
| POST | `/notify/internal/detail` | internalDetail | id* | - | NotifyDetail_Public | notify-controller |
| POST | `/notify/internal/internal` | listInternal | unreadOnly | PageNotifyDetail | PageResultNotifyDetail | notify-controller |
| POST | `/notify/internal/read` | markSiteRead | id* | - | - | notify-controller |
| POST | `/notify/internal/read/all` | markAllSiteRead | - | - | - | notify-controller |
| POST | `/notify/internal/unread/count` | countUnreadSite | - | - | integer | notify-controller |
| POST | `/notify/management/cancel` | managementCancel | id* | - | - | notify-controller |
| POST | `/notify/management/delete` | managementDelete | id* | - | - | notify-controller |
| POST | `/notify/management/detail` | managementDetail | id* | - | Notify_Admin | notify-controller |
| POST | `/notify/management/list` | managementList | - | PageNotify_Admin | PageResultNotifyManagementItem_Admin | notify-controller |
| POST | `/notify/sms/captcha/create` | smsCaptchaCreate | - | CaptchaDataNotify | string | notify-controller |
<a id="module-root"></a>
## root
共 1 个接口,路径前缀 `/`。
| 方法 | 路径 | 摘要 | 参数 | 请求体 | 响应 | Tag |
| --- | --- | --- | --- | --- | --- | --- |
| GET/HEAD/POST/PUT/PATCH/DELETE/OPTIONS | `/` | root | - | - | string | common-controller |
<a id="module-setting"></a>
## setting
共 6 个接口,路径前缀 `/setting/`。
| 方法 | 路径 | 摘要 | 参数 | 请求体 | 响应 | Tag |
| --- | --- | --- | --- | --- | --- | --- |
| POST | `/setting/create` | 创建配置 | - | Setting_Admin | Setting_Admin | 系统-配置 |
| POST | `/setting/delete` | 删除配置 | - | string | - | 系统-配置 |
| POST | `/setting/detail` | 查询配置详情 | - | string | Setting_Admin | 系统-配置 |
| POST | `/setting/list` | 查询配置列表 | - | PageSetting_Admin | PageResultSetting_Admin | 系统-配置 |
| GET/HEAD/POST/PUT/PATCH/DELETE/OPTIONS | `/setting/map` | [公开] 查询公开配置映射 | bizType*, bizId, code | - | Map<String, Setting_Public> | 系统-配置 |
| POST | `/setting/update` | 更新配置 | - | Setting | - | 系统-配置 |
<a id="module-tag"></a>
## tag
共 7 个接口,路径前缀 `/tag/`。
| 方法 | 路径 | 摘要 | 参数 | 请求体 | 响应 | Tag |
| --- | --- | --- | --- | --- | --- | --- |
| POST | `/tag/apply` | apply | - | TagApply | - | tag-controller |
| POST | `/tag/create` | create | - | Tag_Public | Tag_Public | tag-controller |
| POST | `/tag/delete` | delete | id* | - | - | tag-controller |
| POST | `/tag/detail` | detail | id* | - | Tag_Public | tag-controller |
| POST | `/tag/list` | list | - | PageTag_Public | PageResultTag_Public | tag-controller |
| GET | `/tag/list/biz/id` | listByBizType | bizType*, bizId* | - | Array<Tag_Public> | tag-controller |
| POST | `/tag/update` | update | - | Tag | - | tag-controller |