This commit is contained in:
withchao
2023-03-24 17:36:36 +08:00
parent 05ae254d3d
commit eba6993726
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ import (
)
func GinError(c *gin.Context, err error) {
c.JSON(http.StatusOK, ApiError(err))
c.JSON(http.StatusOK, ParseError(err))
}
func GinSuccess(c *gin.Context, data any) {