Update template email

This commit is contained in:
aditya.siregar
2025-03-08 00:35:23 +07:00
parent 3c80b710af
commit 18003313dd
54 changed files with 2309 additions and 199 deletions
+2 -2
View File
@@ -13,7 +13,7 @@ import (
const _oneMB = 1 << 20 // 1MB
const _maxUploadSizeMB = 2 * _oneMB
const _folderName = "/file"
const _folderName = "/public"
type OssHandler struct {
ossService services.OSSService
@@ -22,7 +22,7 @@ type OssHandler struct {
func (h *OssHandler) Route(group *gin.RouterGroup, jwt gin.HandlerFunc) {
route := group.Group("/file")
route.POST("/upload", h.UploadFile, jwt)
route.POST("/upload", h.UploadFile)
}
func NewOssHandler(ossService services.OSSService) *OssHandler {