@@ -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) {