feat: rbac迁移完成,并已部署至dev服务器
This commit is contained in:
@@ -47,7 +47,7 @@ service file-api {
|
||||
|
||||
@doc "删除文件"
|
||||
@handler DeleteFile
|
||||
delete /delete (IdsReq)
|
||||
post /delete (IdsReq)
|
||||
|
||||
@doc "文件列表"
|
||||
@handler GetFileList
|
||||
|
||||
@@ -12,6 +12,7 @@ import (
|
||||
"sundynix-micro-go/app/file/api/internal/svc"
|
||||
|
||||
"github.com/zeromicro/go-zero/core/conf"
|
||||
"github.com/zeromicro/go-zero/core/stat"
|
||||
"github.com/zeromicro/go-zero/rest"
|
||||
)
|
||||
|
||||
@@ -19,6 +20,7 @@ var configFile = flag.String("f", "etc/file-api.yaml", "the config file")
|
||||
|
||||
func main() {
|
||||
flag.Parse()
|
||||
stat.DisableLog()
|
||||
|
||||
var c config.Config
|
||||
conf.MustLoad(*configFile, &c)
|
||||
|
||||
Reference in New Issue
Block a user