修改项目名,添加copy的api,,添加readme
This commit is contained in:
1 parent
bc5bbaf016
commit
2605f9bdb8
8 files changed
+70
-11
No files matched your search
@@ -8,8 +8,8 @@ import (
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
|
||||
"my-go-project/api"
|
||||
"my-go-project/fsOperateEventCenter"
|
||||
"miao-directory/api"
|
||||
"miao-directory/fsOperateEventCenter"
|
||||
)
|
||||
|
||||
var staticPath = "./"
|
||||
@@ -29,6 +29,7 @@ func main() {
|
||||
router.POST("/mkdir", api.MkdirHandler)
|
||||
router.POST("/upload/*path", api.UploadHandler)
|
||||
router.POST("/cut/*path", api.CutHandler(fsOperateEventCenter))
|
||||
router.POST("/copy/*path", api.CopyHandler(fsOperateEventCenter))
|
||||
router.POST("/rename/*path", api.RenameHandler(fsOperateEventCenter))
|
||||
router.POST("/delete/*path", api.DeleteHandler(fsOperateEventCenter))
|
||||
|
||||
|
||||
Reference in new issue
Block a user