diff --git a/.gitignore b/.gitignore index e83174c..22e09ba 100644 --- a/.gitignore +++ b/.gitignore @@ -5,5 +5,4 @@ go-admin temp/ !temp vendor -config/settings.yml config/settings.dev.yml diff --git a/config/settings.yml b/config/settings.yml new file mode 100644 index 0000000..f110264 --- /dev/null +++ b/config/settings.yml @@ -0,0 +1,19 @@ +settings: + application: + env: dev + envmsg: "谢谢您的参与,但为了大家更好的体验,所以本次提交就算了吧!\U0001F600\U0001F600\U0001F600" + host: 0.0.0.0 + isinit: false + jwtsecret: 123abc + logpath: temp/logs/log.txt + name: testApp + port: 8000 + readtimeout: 1 + writertimeout: 2 + database: + database: goadmin + dbtype: mysql + host: 127.0.0.1 + password: 123456 + port: 3306 + username: root