fix bug for i18n and beego v2

This commit is contained in:
shiqstone
2021-04-21 20:44:19 +08:00
parent 4ad0fe74d0
commit 0fb6fcb114
9 changed files with 24 additions and 17 deletions

View File

@@ -3,7 +3,6 @@ package models
import (
"time"
"github.com/astaxie/beego/logs"
"github.com/beego/i18n"
"fmt"
@@ -340,7 +339,7 @@ func (item *Document) Processor() *Document {
selector.First().AppendHtml(release)
}
}
cdnimg,_ := web.AppConfig.String("cdnimg")
cdnimg, _ := web.AppConfig.String("cdnimg")
docQuery.Find("img").Each(func(i int, selection *goquery.Selection) {