feat:聊天信息支持 文件、图片、语音发送,增加一键启停脚本
This commit is contained in:
@@ -12,5 +12,7 @@ func RegisterRoutes(r *gin.Engine, ctrl *controller.FileController, jwtAuth gin.
|
||||
authed.Use(jwtAuth)
|
||||
{
|
||||
authed.POST("/upload", ctrl.Upload)
|
||||
authed.POST("/upload/image", ctrl.UploadImage)
|
||||
authed.POST("/upload/voice", ctrl.UploadVoice)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user