improve the functions related to commenting on images

This commit is contained in:
landaiqing
2024-09-23 00:53:43 +08:00
parent 8d5d918a7d
commit 7aae53e533
32 changed files with 1004 additions and 86 deletions

View File

@@ -13,8 +13,8 @@ type Response struct {
}
const (
SUCCESS = 0
FAIL = -1
SUCCESS = 200
FAIL = 500
)
func Result(code int, msg string, data any, success bool, c *gin.Context) {