y595705120 hace 3 años
padre
commit
7e5c35d663
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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) {