mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-31 06:11:56 +08:00
Feat: sign http request / read running mode from config file
This commit is contained in:
14
routers/controllers/slave.go
Normal file
14
routers/controllers/slave.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package controllers
|
||||
|
||||
import (
|
||||
"github.com/HFO4/cloudreve/pkg/serializer"
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
// SlaveUpload 从机文件上传
|
||||
func SlaveUpload(c *gin.Context) {
|
||||
|
||||
c.JSON(200, serializer.Response{
|
||||
Code: 0,
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user