use revel 1.0.0 && go module

This commit is contained in:
lealife
2021-03-26 14:19:53 +08:00
parent 5e61291703
commit 1b006b83ad
801 changed files with 228 additions and 207009 deletions

View File

@ -110,7 +110,7 @@ func (c Blog) setPreviewUrl() {
if username != "" {
userIdOrEmail = username
}
themeId := c.Session["themeId"]
themeId := c.GetSession("themeId")
theme := themeService.GetTheme(userId, themeId)
// siteUrl := configService.GetSiteUrl()