感谢zou2699 指出拼写错误 CreateAuthorityPatams --> CreateAuthorityParams
This commit is contained in:
@@ -24,7 +24,7 @@ func InitLog() *logrus.Logger {
|
||||
if ok, _ := tools.PathExists("./log"); !ok {
|
||||
// Directory not exist
|
||||
fmt.Println("Create log.")
|
||||
os.Mkdir("log", os.ModePerm)
|
||||
_ = os.Mkdir("log", os.ModePerm)
|
||||
}
|
||||
apiLogPath := "./log/api.log"
|
||||
logWriter, err := rotatelogs.New(
|
||||
|
Reference in New Issue
Block a user