@ -85,8 +85,8 @@ func InitApiRouter(engine *gin.Engine) {
engine . POST ( "/config" , middleware . JwtApiMiddleware , middleware . RbacAuth , controller . PostConfig )
engine . POST ( "/config" , middleware . JwtApiMiddleware , middleware . RbacAuth , controller . PostConfig )
engine . GET ( "/config" , controller . GetConfig )
engine . GET ( "/config" , controller . GetConfig )
engine . GET ( "/replys" , middleware . JwtApiMiddleware , controller . GetReplys )
engine . GET ( "/replys" , middleware . JwtApiMiddleware , controller . GetReplys )
engine . POST ( "/reply" , middleware . JwtApiMiddleware , controller. PostReply )
engine . POST ( "/reply" , middleware . JwtApiMiddleware , middleware. RbacAuth , controller. PostReply )
engine . POST ( "/reply_content" , middleware . JwtApiMiddleware , controller. PostReplyContent )
engine . POST ( "/reply_content" , middleware . JwtApiMiddleware , middleware. RbacAuth , controller. PostReplyContent )
engine . DELETE ( "/reply_content" , middleware . JwtApiMiddleware , middleware . RbacAuth , controller . DelReplyContent )
engine . DELETE ( "/reply_content" , middleware . JwtApiMiddleware , middleware . RbacAuth , controller . DelReplyContent )
engine . DELETE ( "/reply" , middleware . JwtApiMiddleware , middleware . RbacAuth , controller . DelReplyGroup )
engine . DELETE ( "/reply" , middleware . JwtApiMiddleware , middleware . RbacAuth , controller . DelReplyGroup )
engine . POST ( "/reply_search" , middleware . JwtApiMiddleware , controller . PostReplySearch )
engine . POST ( "/reply_search" , middleware . JwtApiMiddleware , controller . PostReplySearch )