Commit 1e83f268 by 孙龙

init

parent 0714cb3c
Showing with 12 additions and 6 deletions
go run .\service\behavior\main.go -configDir=./config/ -logDir=./log/ -LogReportDir=./LogReport/
## 运行
**go run .\service\behavior\main.go -configDir=./config/ -logDir=./log/ -LogReportDir=./LogReport/**
{
## 测试json
{
"interface_type":"1",
"access_url":"api.ichun.com/v3/login",
"err_msg":"响应超时",
......@@ -11,4 +14,9 @@ go run .\service\behavior\main.go -configDir=./config/ -logDir=./log/ -LogRepo
"remark":"a=1&b=2&c=3",
"create_time":1581582711,
"create_time_str":"2020-02-14 16:40"
}
\ No newline at end of file
}
## 配置修改
复制config目录下的
cp ./config/db.toml.demo ./config/db.toml
修改相关配置即可
\ No newline at end of file
[rabbitmq_ichunt]
queue_name="ichunt_monitor_user_behavior"
routing_key="ichunt_monitor_user_behavior"
......
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