mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-02-02 18:28:41 +08:00
This commit is contained in:
parent
93dfbd4c88
commit
a1ca9bfafc
@ -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()
|
||||||
|
@ -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)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user