improve the functions related to commenting on images

This commit is contained in:
landaiqing
2024-09-23 00:53:43 +08:00
parent 8d5d918a7d
commit 7aae53e533
32 changed files with 1004 additions and 86 deletions

View File

@@ -9,6 +9,7 @@ import (
"github.com/wenlng/go-captcha/v2/click"
"github.com/wenlng/go-captcha/v2/rotate"
"github.com/wenlng/go-captcha/v2/slide"
"go.mongodb.org/mongo-driver/mongo"
"gorm.io/gorm"
"schisandra-cloud-album/config"
)
@@ -28,4 +29,5 @@ var (
Wechat *officialAccount.OfficialAccount // 微信公众号
Casbin *casbin.CachedEnforcer // casbin权限管理器
IP2Location *xdb.Searcher // IP地址定位
MongoDB *mongo.Client
)