Commit 05a20d29 by 孙龙

init

parent 1e83f268
Showing with 7 additions and 2 deletions
......@@ -2,5 +2,6 @@
/.DS_Store
/logs/*
/log/*
/cmd/*
/LogReport/*
/config/*.toml
## 运行
## 本地运行
**go run .\service\behavior\main.go -configDir=./config/ -logDir=./log/ -LogReportDir=./LogReport/**
##生产
go build -o {path}/cmd/master {path}/service\behavior\main.go
## 测试json
{
"interface_type":"1",
......
......@@ -69,5 +69,5 @@ func Init(ConfigDir string){
//fmt.Printf("%+v",Configs.Crm_domain)
//fmt.Printf("%+v",Configs.Rabbitmq_ichunt)
//fmt.Printf("%+v",Configs.Mongodb_databases)
fmt.Printf("%+v",Configs.LogSaveConfig)
//fmt.Printf("%+v",Configs.LogSaveConfig)
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment