From 75208aa4499fe5f0019cb0b0a1d9bddca925d323 Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Thu, 13 Apr 2023 16:04:42 +0800 Subject: [PATCH] update --- internal/business/domain/user/service/auth.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/business/domain/user/service/auth.go b/internal/business/domain/user/service/auth.go index 9385a39..4e5f25d 100644 --- a/internal/business/domain/user/service/auth.go +++ b/internal/business/domain/user/service/auth.go @@ -112,6 +112,8 @@ func (*authService) Auth(ctx context.Context, userId, deviceId int64, token stri // AuthMaster 验证站长权限 func (*authService) AuthMaster(ctx context.Context, masterId string) error { master, err := repo.MasterRepo.Get(utils.StrToInt64(masterId)) + fmt.Println(">>>>>>>>>>>>>>AuthMaster>>>>>>>>>>>>>>>", master, err) + if err != nil { return err }