|
|
@@ -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 |
|
|
|
} |
|
|
|