Keep refine the structure.

This commit is contained in:
zicla
2019-04-26 02:38:53 +08:00
parent b3c52ea50e
commit 8edc30babc
11 changed files with 56 additions and 50 deletions

View File

@ -4,6 +4,7 @@ import (
"fmt"
"net/http"
"tank/rest/config"
"tank/rest/logger"
"tank/rest/result"
"tank/rest/tool"
)
@ -20,11 +21,11 @@ type IBean interface {
}
type Bean struct {
logger *tool.Logger
logger *logger.Logger
}
func (this *Bean) Init() {
this.logger = tool.LOGGER
this.logger = logger.LOGGER
}
func (this *Bean) ConfigPost() {