feat 初始化
This commit is contained in:
@@ -43,5 +43,9 @@ func JsonNotFound(c *gin.Context) {
|
||||
}
|
||||
|
||||
func JsonUnauthorized(c *gin.Context) {
|
||||
c.JSON(http.StatusUnauthorized, Error(TokenInvalid))
|
||||
c.JSON(http.StatusOK, Error(TokenInvalid))
|
||||
}
|
||||
|
||||
func JsonMaintenance(c *gin.Context) {
|
||||
c.JSON(http.StatusOK, Error(ServerMaintenance))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user