This commit is contained in:
孟帅 2023-05-14 23:58:07 +08:00
parent 93dfbd4c88
commit a1ca9bfafc
2 changed files with 0 additions and 3 deletions

View File

@ -7,7 +7,6 @@ package dao
import ( import (
"context" "context"
"github.com/gogf/gf/v2/errors/gerror" "github.com/gogf/gf/v2/errors/gerror"
"github.com/gogf/gf/v2/frame/g"
"hotgo/internal/dao/internal" "hotgo/internal/dao/internal"
"hotgo/internal/model/entity" "hotgo/internal/model/entity"
) )
@ -30,7 +29,6 @@ var (
// UpdatePostIds 更新管理员岗位 // UpdatePostIds 更新管理员岗位
func (dao *adminMemberPostDao) UpdatePostIds(ctx context.Context, memberId int64, postIds []int64) (err error) { func (dao *adminMemberPostDao) UpdatePostIds(ctx context.Context, memberId int64, postIds []int64) (err error) {
g.DumpWithType(postIds)
_, err = dao.Ctx(ctx). _, err = dao.Ctx(ctx).
Where("member_id", memberId). Where("member_id", memberId).
Delete() Delete()

View File

@ -148,7 +148,6 @@ func (s *sSysLoginLog) View(ctx context.Context, in sysin.LoginLogViewInp) (res
// Push 推送登录日志 // Push 推送登录日志
func (s *sSysLoginLog) Push(ctx context.Context, in sysin.LoginLogPushInp) { func (s *sSysLoginLog) Push(ctx context.Context, in sysin.LoginLogPushInp) {
g.DumpWithType(in)
if in.Response == nil { if in.Response == nil {
in.Response = new(adminin.LoginModel) in.Response = new(adminin.LoginModel)
} }