feat: rbac迁移完成,并已部署至dev服务器
This commit is contained in:
@@ -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