Ver Fonte

'normal'

y595705120 há 3 anos atrás
pai
commit
7e5c35d663
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      server/response/response.go

+ 2 - 2
server/response/response.go

@@ -13,8 +13,8 @@ type Response struct {
 }
 
 const (
-	ERROR   = 7
-	SUCCESS = 0
+	ERROR   = 201
+	SUCCESS = 200
 )
 
 func Result(code int, data interface{}, msg string, c *gin.Context) {