...
|
...
|
@@ -3,6 +3,7 @@ package beego |
|
|
import (
|
|
|
"github.com/astaxie/beego"
|
|
|
"github.com/linmadan/egglib-go/web/beego/filters"
|
|
|
"gitlab.fjmaimaimai.com/linmadan/mmm-worth/pkg/constant"
|
|
|
. "gitlab.fjmaimaimai.com/linmadan/mmm-worth/pkg/log"
|
|
|
"gitlab.fjmaimaimai.com/linmadan/mmm-worth/pkg/port/beego/middleware"
|
|
|
_ "gitlab.fjmaimaimai.com/linmadan/mmm-worth/pkg/port/beego/routers"
|
...
|
...
|
@@ -20,4 +21,8 @@ func init() { |
|
|
|
|
|
timeLocal, _ := time.LoadLocation("Asia/Chongqing")
|
|
|
time.Local = timeLocal
|
|
|
|
|
|
// excel文件路径映射
|
|
|
beego.SetStaticPath("/download", "download")
|
|
|
beego.SetStaticPath("/log", constant.LOG_File)
|
|
|
} |
...
|
...
|
|