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 FormSide
- type LogOperateType
- type LoginOauthStatus
- type MaterialPositionEnums
- type MaterialStatusEnums
- type MaterialTemplateStatusEnums
- type MaterialTemplateWordsWordsTypeEnums
- type MaterialTypeEnums
- type PGCoinBillStatus
- type PGCoinBillType
- type PGCoinOrderPay
- type PGCoinOrderStatus
- type PGCoinTransactionType
- type PGCoinUserTAB
- 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 VidePersonalIsShow
- type VideoBeat
- type VideoBuyBillStatus
- type VideoBuyStatus
- type VideoBuyType
- type VideoCategoryRecommend
- type VideoCategoryShow
- type VideoFeeType
- type VideoHot
- type VideoNew
- type VideoOperator
- type VideoPersonalType
- type VideoRecommend
- type VideoRelease
- type VideoSeries
- type VideoStatus
- type VideoTop
- type VideoUserActionType
- 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` ContextDataWitheUrl ContextDataKey = `whiteUrl` // 白名单URL地址 )
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 PGCoinBillStatus ¶ added in v1.0.5
type PGCoinBillStatus int
const ( PGCoinBillStatusNormal PGCoinBillStatus = iota PGCoinBillStatusComplete PGCoinBillStatusPartExpired PGCoinBillStatusExpired PGCoinBillStatusPartRefund PGCoinBillStatusRefund )
func (PGCoinBillStatus) Fmt ¶ added in v1.0.5
func (s PGCoinBillStatus) Fmt() string
func (PGCoinBillStatus) Is ¶ added in v1.0.5
func (s PGCoinBillStatus) Is() bool
type PGCoinBillType ¶ added in v1.0.5
type PGCoinBillType int
const ( PGCoinBillTypeRecharge PGCoinBillType = iota PGCoinBillTypeActGive PGCoinBillTypeFormGive PGCoinBillTypeNewUserGive PGCoinBillTypeSaleRefund )
func (PGCoinBillType) Is ¶ added in v1.0.5
func (t PGCoinBillType) Is() bool
type PGCoinOrderPay ¶ added in v1.0.5
type PGCoinOrderPay int
const ( PGCoinOrderPayPending PGCoinOrderPay = iota PGCoinOrderPayPaid )
func (PGCoinOrderPay) Fmt ¶ added in v1.0.8
func (p PGCoinOrderPay) Fmt() string
func (PGCoinOrderPay) Is ¶ added in v1.0.5
func (p PGCoinOrderPay) Is() bool
type PGCoinOrderStatus ¶ added in v1.0.5
type PGCoinOrderStatus int
const ( PGCoinOrderStatusPending PGCoinOrderStatus = iota PGCoinOrderStatusSuccess PGCoinOrderStatusCancel PGCoinOrderStatusRefund )
func (PGCoinOrderStatus) Fmt ¶ added in v1.0.8
func (s PGCoinOrderStatus) Fmt() string
func (PGCoinOrderStatus) Is ¶ added in v1.0.5
func (s PGCoinOrderStatus) Is() bool
type PGCoinTransactionType ¶ added in v1.0.5
type PGCoinTransactionType int
const ( PGCoinTransactionTypeIncome PGCoinTransactionType = iota PGCoinTransactionTypeConsume )
func (PGCoinTransactionType) Fmt ¶ added in v1.0.5
func (t PGCoinTransactionType) Fmt() string
func (PGCoinTransactionType) Is ¶ added in v1.0.5
func (t PGCoinTransactionType) Is() bool
type PGCoinUserTAB ¶ added in v1.0.8
type PGCoinUserTAB string
const ( PGCoinUserTABAll PGCoinUserTAB = `all` // 全部 PGCoinUserTABPending PGCoinUserTAB = `pending` // 待支付 PGCoinUserTABOK PGCoinUserTAB = `ok` // 已完成 )
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
type VidePersonalIsShow ¶ added in v1.0.1
type VidePersonalIsShow int
const ( VideoPersonalShow VidePersonalIsShow = iota VideoPersonalHide )
func (VidePersonalIsShow) Is ¶ added in v1.0.1
func (s VidePersonalIsShow) Is() bool
type VideoBuyBillStatus ¶ added in v1.0.5
type VideoBuyBillStatus int
const ( VideoBuyBillStatusNormal VideoBuyBillStatus = iota VideoBuyBillStatusRefund VideoBuyBillStatusPartRefund )
func (VideoBuyBillStatus) Fmt ¶ added in v1.0.5
func (s VideoBuyBillStatus) Fmt() string
func (VideoBuyBillStatus) Is ¶ added in v1.0.5
func (s VideoBuyBillStatus) Is() bool
type VideoBuyStatus ¶ added in v1.0.1
type VideoBuyStatus int
const ( VideoBuyStatusNot VideoBuyStatus = iota VideoBuyStatusYes )
func (VideoBuyStatus) Fmt ¶ added in v1.0.5
func (s VideoBuyStatus) Fmt() string
func (VideoBuyStatus) Is ¶ added in v1.0.1
func (s VideoBuyStatus) Is() bool
type VideoBuyType ¶ added in v1.0.5
type VideoBuyType int
const ( VideoBuyTypeSE VideoBuyType = iota // 单集购买 VideoBuyTypeFE // 全集购买 VideoBuyTypeME // 余集买断 )
func (VideoBuyType) Fmt ¶ added in v1.0.5
func (t VideoBuyType) Fmt() string
func (VideoBuyType) Is ¶ added in v1.0.5
func (t VideoBuyType) Is() bool
type VideoCategoryRecommend ¶ added in v1.0.11
type VideoCategoryRecommend int
const ( VideoCategoryRecommendNot VideoCategoryRecommend = iota VideoCategoryRecommendYes )
func (VideoCategoryRecommend) Fmt ¶ added in v1.0.11
func (r VideoCategoryRecommend) Fmt() string
func (VideoCategoryRecommend) Is ¶ added in v1.0.11
func (r VideoCategoryRecommend) Is() bool
type VideoCategoryShow ¶ added in v1.0.11
type VideoCategoryShow int
const ( VideoCategoryShowShow VideoCategoryShow = iota VideoCategoryShowHide )
func (VideoCategoryShow) Fmt ¶ added in v1.0.11
func (s VideoCategoryShow) Fmt() string
func (VideoCategoryShow) Is ¶ added in v1.0.11
func (s VideoCategoryShow) Is() bool
type VideoFeeType ¶ added in v1.0.1
type VideoFeeType int
const ( VideoFeeTypeFee VideoFeeType = iota VideoFeeTypeVIP )
func (VideoFeeType) Is ¶ added in v1.0.1
func (t VideoFeeType) Is() bool
type VideoOperator ¶ added in v1.0.2
type VideoOperator uint
const ( VideoOperatorTop VideoOperator = iota VideoOperatorRecommend VideoOperatorHot VideoOperatorBeat VideoOperatorNew VideoOperatorRelease )
type VideoPersonalType ¶ added in v1.0.1
type VideoPersonalType int
const ( VideoPersonalTypeDirector VideoPersonalType = iota VideoPersonalTypeSubDirector VideoPersonalMainStarring VideoPersonalStarring VideoPersonalGuest VideoPersonalOther )
func (VideoPersonalType) Is ¶ added in v1.0.1
func (t VideoPersonalType) Is() bool
type VideoRecommend ¶ added in v1.0.1
type VideoRecommend int
const ( VideoRecommendNot VideoRecommend = iota VideoRecommendYes )
func (VideoRecommend) Is ¶ added in v1.0.1
func (r VideoRecommend) Is() bool
type VideoRelease ¶ added in v1.0.1
type VideoRelease int
const ( VideoReleaseNot VideoRelease = iota VideoReleaseYes )
func (VideoRelease) Is ¶ added in v1.0.1
func (r VideoRelease) Is() bool
type VideoSeries ¶ added in v1.0.1
type VideoSeries int
const ( VideoSeriesSingle VideoSeries = iota VideoSeriesMany )
func (VideoSeries) Is ¶ added in v1.0.1
func (s VideoSeries) Is() bool
type VideoStatus ¶ added in v1.0.1
type VideoStatus int
const ( VideoStatusAudit VideoStatus = iota VideoStatusSuccess VideoStatusReject VideoStatusOff VideoStatusDel )
func (VideoStatus) Is ¶ added in v1.0.1
func (s VideoStatus) Is() bool
type VideoUserActionType ¶ added in v1.0.1
type VideoUserActionType string
const ( VideoUserActionTypeCollect VideoUserActionType = `C` VideoUserActionTypeLike VideoUserActionType = `L` VideoUserActionTypeTread VideoUserActionType = `T` )
func (VideoUserActionType) Is ¶ added in v1.0.1
func (t VideoUserActionType) Is() bool
Source Files ¶
- admin_user.go
- article.go
- context_data_key.go
- country_code.go
- enums.go
- error_code.go
- label_idx.go
- material.go
- material_template.go
- pgcoin.go
- rbac.go
- safe_tags.go
- sms_driver.go
- sms_template.go
- space_image.go
- sys_config.go
- sys_map.go
- system_log.go
- tencent_sms.go
- user.go
- user_oauth.go
- video.go
- video_buy.go
- video_category.go
- video_personal.go
- video_user_actions.go
Click to show internal directories.
Click to hide internal directories.