mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-20 00:00:27 +08:00
feat: 新增linux文件上传成功后websocket通知
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
package routers
|
||||
package router
|
||||
|
||||
import (
|
||||
"mayfly-go/base/ctx"
|
||||
@@ -49,7 +49,7 @@ func InitProjectRouter(router *gin.RouterGroup) {
|
||||
})
|
||||
|
||||
saveProjectEnvLog := ctx.NewLogInfo("新增项目环境信息")
|
||||
savePeP := ctx.NewPermission("project:env:save")
|
||||
savePeP := ctx.NewPermission("project:env:add")
|
||||
// 保存项目下的环境信息
|
||||
project.POST("/:projectId/envs", func(c *gin.Context) {
|
||||
ctx.NewReqCtxWithGin(c).WithLog(saveProjectEnvLog).
|
||||
|
||||
Reference in New Issue
Block a user