ws update

This commit is contained in:
Gordon
2023-03-24 16:39:33 +08:00
parent 98e22cc699
commit 1291420db0
7 changed files with 135 additions and 68 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ func GinError(c *gin.Context, err error) {
GinSuccess(c, nil)
return
}
c.JSON(http.StatusOK, apiError(err))
c.JSON(http.StatusOK, ParseError(err))
}
func GinSuccess(c *gin.Context, data any) {