mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-12-29 02:46:35 +08:00
refactor: 包名变更ctx -> req
This commit is contained in:
@@ -10,7 +10,7 @@ import (
|
||||
redisapp "mayfly-go/internal/redis/application"
|
||||
redisentity "mayfly-go/internal/redis/domain/entity"
|
||||
tagapp "mayfly-go/internal/tag/application"
|
||||
"mayfly-go/pkg/ctx"
|
||||
"mayfly-go/pkg/req"
|
||||
)
|
||||
|
||||
type Index struct {
|
||||
@@ -21,7 +21,7 @@ type Index struct {
|
||||
MongoApp mongoapp.Mongo
|
||||
}
|
||||
|
||||
func (i *Index) Count(rc *ctx.ReqCtx) {
|
||||
func (i *Index) Count(rc *req.Ctx) {
|
||||
accountId := rc.LoginAccount.Id
|
||||
tagIds := i.TagApp.ListTagIdByAccountId(accountId)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user