增加租户官网模块
This commit is contained in:
@@ -21,6 +21,8 @@ func main() {
|
||||
|
||||
// 静态资源:映射 /uploads 到本地 uploads 目录,供前端访问上传文件
|
||||
beego.SetStaticPath("/uploads", "uploads")
|
||||
// 官网模板静态资源:themes/{code}/static/ 下的图片/JS/CSS
|
||||
beego.SetStaticPath("/themes", "themes")
|
||||
|
||||
// 启动日程提醒定时任务
|
||||
services.StartReminderScheduler(make(chan struct{}))
|
||||
|
||||
Reference in New Issue
Block a user