12 lines
305 B
Go
12 lines
305 B
Go
|
|
package routers
|
||
|
|
|
||
|
|
import (
|
||
|
|
"git.apinb.com/heqiapp/platforms/backend/api/internal/logic/upload"
|
||
|
|
"github.com/gin-gonic/gin"
|
||
|
|
)
|
||
|
|
|
||
|
|
// registerUploadRoute 注册已认证的文件上传接口。
|
||
|
|
func registerUploadRoute(serviceKey string, engine *gin.Engine) {
|
||
|
|
engine.POST("/upload/file", upload.UploadFile)
|
||
|
|
}
|