whitelist

package
v0.0.0-...-83adff0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	Creator         map[int64]int64
	PlayerAttention map[int64]int64
	// contains filtered or unexported fields
}

Service struct

func New

func New(c *conf.Config, rpcdaos *service.RPCDaos) *Service

New get service

func (*Service) TaskWhiteList

func (s *Service) TaskWhiteList(mid int64) (res int8)

TaskWhiteList 任务系统白名单 0-关闭 1-开启

func (*Service) UploadInfoForCreator

func (s *Service) UploadInfoForCreator(mf *accmdl.MyInfo, mid int64) (uploadinfo map[string]interface{})

UploadInfoForCreator fn, 判断创作姬的能否进入app投稿的权限

func (*Service) UploadInfoForMainApp

func (s *Service) UploadInfoForMainApp(mf *accmdl.MyInfo, plat string, mid int64) (uploadinfo map[string]interface{}, white int)

UploadInfoForMainApp fn, 判断主APP的能否进入app投稿的权限

func (*Service) Viewinfo

func (s *Service) Viewinfo(mf *accmdl.MyInfo) (uploadinfo map[string]interface{})

Viewinfo fn, 判断创作姬的能否进入app查看的权限

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL