constant

package
v0.0.0-...-2b09096 Latest Latest
Warning

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

Go to latest
Published: May 26, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

权限模块

用户身份

Index

Constants

View Source
const (
	AuthorityModuleUser      = "user"      // 用户模块
	AuthorityModuleOperation = "operation" // 运营模块
)
View Source
const (
	UserIdentityWeb    uint8 = iota + 1 // 网页用户
	UserIdentityWechat                  // 微信用户
	UserIdentityAlipay                  // 支付宝用户
)

Variables

This section is empty.

Functions

func GetAuthorityModuleLabel

func GetAuthorityModuleLabel(v string) string

func GetUserIdentityLabel

func GetUserIdentityLabel(v uint8) string

func Test

func Test()

Types

This section is empty.

Jump to

Keyboard shortcuts

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