mirror of
https://github.com/kongyuebin1/dongfeng-pay.git
synced 2025-10-30 10:07:31 +08:00
由gopath形式改为module
This commit is contained in:
17
merchant/conf/app.conf
Normal file
17
merchant/conf/app.conf
Normal file
@@ -0,0 +1,17 @@
|
||||
appname = jhmerchant
|
||||
httpport = 12307
|
||||
#runmode = pro
|
||||
runmode = dev
|
||||
|
||||
#日志配置
|
||||
[logs]
|
||||
# 0 ~ 7, 日志级别
|
||||
#level =7
|
||||
level =7
|
||||
#日志保存路径
|
||||
filepath= ./logs/jhmerchant.log
|
||||
#需要显示的日志信息
|
||||
#separate="["emergency", "alert", "critical", "error", "warning", "notice", "info", "debug"]"
|
||||
separate="["emergency","alert","critical","error","warning","notice","info","debug"]"
|
||||
#日志保存最大天数
|
||||
maxdays=10
|
||||
18
merchant/conf/config.go
Normal file
18
merchant/conf/config.go
Normal file
@@ -0,0 +1,18 @@
|
||||
/***************************************************
|
||||
** @Desc : This file for ...
|
||||
** @Time : 2019/10/26 15:30
|
||||
** @Author : yuebin
|
||||
** @File : conf_pro
|
||||
** @Last Modified by : yuebin
|
||||
** @Last Modified time: 2019/10/26 15:30
|
||||
** @Software: GoLand
|
||||
****************************************************/
|
||||
package conf
|
||||
|
||||
const (
|
||||
DB_HOST = "localhost"
|
||||
DB_PORT = "3306"
|
||||
DB_USER = "root"
|
||||
DB_PASSWORD = "Kyb^15273031604"
|
||||
DB_BASE = "juhe_pay"
|
||||
)
|
||||
Reference in New Issue
Block a user