Documentation ¶
Index ¶
- Constants
- type AdmCustomUpdateColumns
- type AdminInviteStatus
- type AdminIsSuperManage
- type AdminManageStatus
- type ArtCategoryShow
- type ArtCategoryStatus
- type ArticleShow
- type ArticleStatus
- type ContextDataKey
- type CorrelateTypeEnums
- type CountryCode
- type DepartStatus
- type ErrorCode
- type LogOperateType
- type LoginOauthStatus
- type MaterialPositionEnums
- type MaterialStatusEnums
- type MaterialTemplateStatusEnums
- type MaterialTemplateWordsWordsTypeEnums
- type MaterialTypeEnums
- type PermAssocType
- type PermCustomUpdateColumns
- type PermDisabled
- type PermMenuType
- type PermShow
- type RoleStatus
- type SafeTags
- type SexEnums
- type SmsAlias
- type SmsDriver
- type SmsStatus
- type SmsType
- type SpaceImageDesignTypeEnums
- type SpaceImagePrecisionEnums
- type SpaceImageSortTypeEnums
- type SysMapDisable
- type TencentSmsInternational
- type TencentSmsStatusCode
- type UserAdminStatus
- type UserDeviceDisabled
- type UserLoginStatus
- type UserOauth
- type UserStatus
- type VipType
Constants ¶
View Source
const ( TencentSmsInternationalChina TencentSmsInternational = 0 TencentSmsInternationalHMTC TencentSmsInternational = 1 TencentSmsInternationalAll TencentSmsInternational = 3 TencentSmsStatusCodeAF TencentSmsStatusCode = -1 TencentSmsStatusCodeAE TencentSmsStatusCode = 0 TencentSmsStatusCodeAR TencentSmsStatusCode = 1 TencentSmsStatusCodeTE TencentSmsStatusCode = 2 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdmCustomUpdateColumns ¶
type AdmCustomUpdateColumns int
const ( AdmUpdateColumnsStatus AdmCustomUpdateColumns = iota AdmUpdateColumnsIsSuper )
func (AdmCustomUpdateColumns) Fmt ¶
func (c AdmCustomUpdateColumns) Fmt() string
type AdminInviteStatus ¶
type AdminInviteStatus int
const ( AdminInviteStatusZero AdminInviteStatus = iota AdminInviteStatusOne AdminInviteStatusTwo )
func (AdminInviteStatus) Fmt ¶
func (s AdminInviteStatus) Fmt() string
type AdminIsSuperManage ¶
type AdminIsSuperManage int
const ( AdminIsSuperMangeOrdinary AdminIsSuperManage = iota AdminIsSuperManageSuper )
func (AdminIsSuperManage) Fmt ¶
func (m AdminIsSuperManage) Fmt() string
type AdminManageStatus ¶
type AdminManageStatus int
const ( AdminManageStatusOk AdminManageStatus = iota AdminManageStatusLock AdminManageStatusDepart AdminManageStatusOV AdminManageStatusLogoff )
func (AdminManageStatus) Fmt ¶
func (s AdminManageStatus) Fmt() string
type ArtCategoryShow ¶
type ArtCategoryShow int
const ( ArtCategoryShowOk ArtCategoryShow = iota ArtCategoryShowHide )
func (ArtCategoryShow) Fmt ¶
func (s ArtCategoryShow) Fmt() string
type ArtCategoryStatus ¶
type ArtCategoryStatus int
const ( ArtCategoryStatusOk ArtCategoryStatus = iota ArtCategoryStatusDisable )
func (ArtCategoryStatus) Fmt ¶
func (a ArtCategoryStatus) Fmt() string
type ArticleShow ¶
type ArticleShow int
const ( ArticleShowOk ArticleShow = iota ArticleShowHide )
func (ArticleShow) Fmt ¶
func (s ArticleShow) Fmt() string
type ArticleStatus ¶
type ArticleStatus int
const ( ArticleStatusOk ArticleStatus = iota ArticleStatusDisable )
func (ArticleStatus) Fmt ¶
func (s ArticleStatus) Fmt() string
type ContextDataKey ¶
type ContextDataKey string
const ( ContextDataBasicUser ContextDataKey = `contextUserKey` // 用户信息上下文KEY ContextDataAdminUser ContextDataKey = `adminUser` ContextDataUser ContextDataKey = `user` )
func (ContextDataKey) Fmt ¶
func (k ContextDataKey) Fmt() string
type CorrelateTypeEnums ¶
type CorrelateTypeEnums uint
const ( CorrelateTypeTemp CorrelateTypeEnums = iota CorrelateTypeSpace )
type DepartStatus ¶
type DepartStatus int
const ( DepartStatusOk DepartStatus = iota DepartStatusDisabled )
func (DepartStatus) Fmt ¶
func (s DepartStatus) Fmt() string
type ErrorCode ¶
type ErrorCode int
const ( ErrorOK ErrorCode = 0 ErrorUnify ErrorCode = 10000 ErrorNotLogoutIn ErrorCode = 11000 ErrorLogoutIn ErrorCode = 11001 ErrorLoginErrThree ErrorCode = 11002 ErrorLoginErrLock ErrorCode = 11003 ErrorNotAdmin ErrorCode = 11004 ErrorForgotNotCaptcha ErrorCode = 11005 ErrorUpdatePwdNotCaptcha ErrorCode = 11006 ErrorInviteIn ErrorCode = 12001 ErrorInviteAuth ErrorCode = 12002 ErrorForbidden ErrorCode = 400003 )
type LogOperateType ¶
type LogOperateType int
const ( LogOperateTypeOperate LogOperateType = iota LogOperateTypeLogin LogOperateTypeSystem )
func (LogOperateType) Fmt ¶
func (t LogOperateType) Fmt() string
type LoginOauthStatus ¶
type LoginOauthStatus uint
const ( LoginOauthStatusOk LoginOauthStatus = iota LoginOauthStatusOL LoginOauthStatusTimeout )
func (LoginOauthStatus) Fmt ¶
func (s LoginOauthStatus) Fmt() string
type MaterialPositionEnums ¶
type MaterialPositionEnums string // 素材位置
const ( MaterialPositionMain MaterialPositionEnums = `main` MaterialPositionMarket MaterialPositionEnums = `market` MaterialPositionTop MaterialPositionEnums = `top` MaterialPositionBtmMain MaterialPositionEnums = `btm-main` MaterialPositionBtmSecond MaterialPositionEnums = `btm-second` MaterialPositionBtmSingle MaterialPositionEnums = `btm-single` MaterialPositionDetail MaterialPositionEnums = `detail` )
素材位置:main主图,market营销活动卖点,top顶部卖点, btm-main底部主卖点,btm-second底部次卖点,btm-single底部单独卖点,detail详情图卖点
type MaterialStatusEnums ¶
type MaterialStatusEnums uint // 素材状态
const ( MaterialStatusOk MaterialStatusEnums = iota MaterialStatusDiscard )
素材状态
type MaterialTemplateStatusEnums ¶
type MaterialTemplateStatusEnums uint
const ( MaterialTemplateStatusAudit MaterialTemplateStatusEnums = iota MaterialTemplateStatusOk MaterialTemplateStatusOff )
type MaterialTemplateWordsWordsTypeEnums ¶
type MaterialTemplateWordsWordsTypeEnums uint
const ( MaterialTemplateWordsWordsTypeDefault MaterialTemplateWordsWordsTypeEnums = iota MaterialTemplateWordsWordsTypeNoSep MaterialTemplateWordsWordsTypeSep )
type MaterialTypeEnums ¶
type MaterialTypeEnums uint // 素材类型
const ( MaterialTypeMate MaterialTypeEnums = iota MaterialTypeMain )
素材类型
type PermAssocType ¶
type PermAssocType int
const ( PermAssocTypeRoles PermAssocType = iota PermAssocTypeUser )
func (PermAssocType) Fmt ¶
func (t PermAssocType) Fmt() string
type PermCustomUpdateColumns ¶
type PermCustomUpdateColumns int
const ( PermUpdateColumnsShow PermCustomUpdateColumns = iota PermUpdateColumnsDisabled PermUpdateColumnsSort )
func (PermCustomUpdateColumns) Fmt ¶
func (c PermCustomUpdateColumns) Fmt() string
type PermDisabled ¶
type PermDisabled int
const ( PermDisabledOk PermDisabled = iota PermDisabledLock )
func (PermDisabled) Fmt ¶
func (d PermDisabled) Fmt() string
type PermMenuType ¶
type PermMenuType int
const ( PermMenuTypeMain PermMenuType = iota PermMenuTypeSub PermMenuTypeAction PermMenuTypeAuth )
func (PermMenuType) Fmt ¶
func (t PermMenuType) Fmt() string
type RoleStatus ¶
type RoleStatus int
const ( RoleStatusOk RoleStatus = iota RoleStatusLock )
func (RoleStatus) Fmt ¶
func (s RoleStatus) Fmt() string
type SpaceImageDesignTypeEnums ¶
type SpaceImageDesignTypeEnums uint
const ( SpaceImageDesignTypeSmart SpaceImageDesignTypeEnums = iota SpaceImageDesignTypeHandMove SpaceImageDesignTypeActive )
type SpaceImagePrecisionEnums ¶
type SpaceImagePrecisionEnums uint
SpaceImagePrecisionEnums 图片空间精度枚举类型
const ( SpaceImagePrecisionZero SpaceImagePrecisionEnums = iota SpaceImagePrecisionOne SpaceImagePrecisionTwo SpaceImagePrecisionThree SpaceImagePrecisionFour SpaceImagePrecisionFive SpaceImagePrecisionSix SpaceImagePrecisionSeven SpaceImagePrecisionEight SpaceImagePrecisionNine SpaceImagePrecisionTen )
type SpaceImageSortTypeEnums ¶
type SpaceImageSortTypeEnums uint // 设计排序
const ( SpaceImageSortTypeDefault SpaceImageSortTypeEnums = iota SpaceImageSortTypeNew SpaceImageSortTypeAtMost )
func (SpaceImageSortTypeEnums) Fmt ¶
func (e SpaceImageSortTypeEnums) Fmt() string
type SysMapDisable ¶
type SysMapDisable uint
const ( SysMapDisableOk SysMapDisable = iota SysMapDisableDisable )
func (SysMapDisable) Fmt ¶
func (s SysMapDisable) Fmt() string
type TencentSmsInternational ¶
type TencentSmsInternational uint64
type TencentSmsStatusCode ¶
type TencentSmsStatusCode int
type UserAdminStatus ¶
type UserAdminStatus uint
const ( UserAdminStatusOk UserAdminStatus = iota UserAdminStatusLock UserAdminStatusLO UserAdminStatusVIO UserAdminStatusLG )
func (UserAdminStatus) Fmt ¶
func (s UserAdminStatus) Fmt() string
type UserDeviceDisabled ¶
type UserDeviceDisabled uint
const ( UserDeviceDisabledOk UserDeviceDisabled = iota UserDeviceDisabledOff )
func (UserDeviceDisabled) Fmt ¶
func (d UserDeviceDisabled) Fmt() string
type UserLoginStatus ¶
type UserLoginStatus uint
const ( UserLoginStatusOk UserLoginStatus = iota UserLoginStatusSP UserLoginStatusSM UserLoginStatusND )
func (UserLoginStatus) Fmt ¶
func (s UserLoginStatus) Fmt() string
type UserStatus ¶
type UserStatus uint
const ( UserStatusOk UserStatus = iota UserStatusLock UserStatusLogout )
func (UserStatus) Fmt ¶
func (s UserStatus) Fmt() string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.