Fix stupid ai bug
Some checks failed
Client CMS Check Build (NixCN CMS) TeamCity build finished
Backend Check Build (NixCN CMS) TeamCity build failed

Signed-off-by: Asai Neko <sugar@sne.moe>
This commit is contained in:
2026-01-29 00:58:28 +08:00
parent 79dfa8499c
commit 330b037dca
14 changed files with 59 additions and 103 deletions

View File

@@ -16,10 +16,10 @@ import (
// @Accept json
// @Produce json
// @Param payload body service_auth.ExchangeData true "Exchange Request Credentials"
// @Success 200 {object} service_auth.ExchangeResult
// @Failure 400 {string} string "Invalid Input"
// @Failure 401 {string} string "Unauthorized"
// @Failure 500 {string} string "Internal Server Error"
// @Success 200 {object} utils.RespStatus{data=service_auth.ExchangeResult} "Successful exchange"
// @Failure 400 {object} utils.RespStatus{data=nil} "Invalid Input"
// @Failure 401 {object} utils.RespStatus{data=nil} "Unauthorized"
// @Failure 500 {object} utils.RespStatus{data=nil} "Internal Server Error"
// @Security ApiKeyAuth
// @Router /auth/exchange [post]
func (self *AuthHandler) Exchange(c *gin.Context) {