From f7affd1f3fcd00c463119a534e4b113749058ac4 Mon Sep 17 00:00:00 2001 From: Sydonian <794346190@qq.com> Date: Wed, 12 Feb 2025 16:36:37 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E8=B0=83=E8=AF=95=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/internal/http/user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/internal/http/user.go b/client/internal/http/user.go index cb25ccc..8b110c1 100644 --- a/client/internal/http/user.go +++ b/client/internal/http/user.go @@ -35,7 +35,7 @@ func (s *UserService) Create(ctx *gin.Context) { return } - ctx.JSON(http.StatusOK, OK(user)) + ctx.JSON(http.StatusOK, OK(cdsapi.UserCreateResp{User: user})) } func (s *UserService) Delete(ctx *gin.Context) {