mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-04 18:45:38 +08:00
### What problem does this PR solve? This PR aligns `POST /api/v1/system/tokens` in Go with the Python implementation. ### Type of change - Keep the token creation flow under the system API route. - Preserve the owner-tenant authorization check. - Generate and persist API tokens consistently with the current Go service flow. - Return the created token payload in the standard API response format. Co-authored-by: Jin Hai <haijin.chn@gmail.com>
3.4 KiB
3.4 KiB