Documentation ¶
Index ¶
Constants ¶
View Source
const ( TimeFormatSec = "2006-01-02 15:04:05" TimeFormatDay = "2006-01-02" ThirtyDayUnixTime = 30 * 24 * 60 * 60 )
const .
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmailState ¶
type EmailState int8
EmailState .
const ( EmailStateSendNone EmailState = 1 EmailStateSendSucc EmailState = 2 )
const .
type MCNSignInfo ¶
type MCNSignInfo struct { SignID int64 `json:"sign_id"` McnMid int64 `json:"mcn_mid"` McnName string `json:"mcn_name"` CompanyName string `json:"company_name"` CompanyLicenseID string `json:"company_license_id"` CompanyLicenseLink string `json:"company_license_link"` ContractLink string `json:"contract_link"` ContactName string `json:"contact_name"` ContactTitle string `json:"contact_title"` ContactPhone string `json:"contact_phone"` ContactIdcard string `json:"contact_idcard"` BeginDate xtime.Time `json:"begin_date"` EndDate xtime.Time `json:"end_date"` PayExpireState int8 `json:"pay_expire_state"` State MCNSignState `json:"state"` RejectTime xtime.Time `json:"reject_time"` RejectReason string `json:"reject_reason"` Ctime xtime.Time `json:"ctime"` Mtime xtime.Time `json:"mtime"` }
MCNSignInfo .
type MCNSignState ¶
type MCNSignState int8
MCNSignState .
const ( // MCNSignStateNoApply 未申请 MCNSignStateNoApply MCNSignState = 0 // MCNSignStateOnReview 待审核 MCNSignStateOnReview MCNSignState = 1 // MCNSignStateOnReject 已驳回 MCNSignStateOnReject MCNSignState = 2 // MCNSignStateOnSign 已签约 MCNSignStateOnSign MCNSignState = 10 // MCNSignStateOnCooling 冷却中 MCNSignStateOnCooling MCNSignState = 11 // MCNSignStateOnExpire 已到期 MCNSignStateOnExpire MCNSignState = 12 // MCNSignStateOnBlock 已封禁 MCNSignStateOnBlock MCNSignState = 13 // MCNSignStateOnClear 已清退 MCNSignStateOnClear MCNSignState = 14 // MCNSignStateOnPreOpen 待开启 MCNSignStateOnPreOpen MCNSignState = 15 // MCNSignStateOnDelete 已移除 MCNSignStateOnDelete MCNSignState = 100 )
const .
type MCNUPInfo ¶
type MCNUPInfo struct { SignUpID int64 `json:"sign_up_id"` SignID int64 `json:"sign_id"` McnMid int64 `json:"mcn_mid"` UpMid int64 `json:"up_mid"` BeginDate xtime.Time `json:"begin_date"` EndDate xtime.Time `json:"end_date"` ContractLink string `json:"contract_link"` UpAuthLink string `json:"up_auth_link"` RejectTime xtime.Time `json:"reject_time"` RejectReason string `json:"reject_reason"` State MCNUPState `json:"state"` StateChangeTime xtime.Time `json:"state_change_time"` Ctime xtime.Time `json:"ctime"` Mtime xtime.Time `json:"mtime"` UpName string `json:"up_name"` FansCount int64 `json:"fans_count"` ActiveTid int64 `json:"active_tid"` }
MCNUPInfo .
type MCNUPRecommendSource ¶
type MCNUPRecommendSource int8
MCNUPRecommendSource .
const ( // MCNUPRecommendSourceUnKnown 未知来源 MCNUPRecommendSourceUnKnown MCNUPRecommendSource = iota // MCNUPRecommendSourceAuto 自动添加(大数据) MCNUPRecommendSourceAuto // MCNUPRecommendStateManual 手动添加 MCNUPRecommendStateManual )
const .
type MCNUPRecommendState ¶
type MCNUPRecommendState int8
MCNUPRecommendState .
const ( // MCNUPRecommendStateUnKnown 未知状态 MCNUPRecommendStateUnKnown MCNUPRecommendState = 0 // MCNUPRecommendStateOff 未推荐 MCNUPRecommendStateOff MCNUPRecommendState = 1 // MCNUPRecommendStateOn 推荐中 MCNUPRecommendStateOn MCNUPRecommendState = 2 // MCNUPRecommendStateBan 禁止推荐 MCNUPRecommendStateBan MCNUPRecommendState = 3 // MCNUPRecommendStateDel 移除中 MCNUPRecommendStateDel MCNUPRecommendState = 100 )
const .
type MCNUPState ¶
type MCNUPState int8
MCNUPState .
const ( // MCNUPStateNoAuthorize 未授权 MCNUPStateNoAuthorize MCNUPState = 0 // MCNUPStateOnRefuse 已拒绝 MCNUPStateOnRefuse MCNUPState = 1 // MCNUPStateOnReview 待审核 MCNUPStateOnReview MCNUPState = 2 // MCNSignStateOnReject 已驳回 MCNUPStateOnReject MCNUPState = 3 // MCNUPStateOnSign 已签约 MCNUPStateOnSign MCNUPState = 10 // MCNUPStateOnFreeze 已冻结 MCNUPStateOnFreeze MCNUPState = 11 // MCNUPStateOnExpire 已到期 MCNUPStateOnExpire MCNUPState = 12 // MCNUPStateOnBlock 已封禁 MCNUPStateOnBlock MCNUPState = 13 // MCNUPStateOnClear 已解约 MCNUPStateOnClear MCNUPState = 14 // MCNUPStateOnPreOpen 待开启 MCNUPStateOnPreOpen MCNUPState = 15 // MCNUPStateOnDelete 已删除 MCNUPStateOnDelete MCNUPState = 100 )
const .
type McnUpRecommendPool ¶
type McnUpRecommendPool struct { ID int64 `json:"id"` UpMid int64 `json:"up_mid"` UpName string `json:"up_name"` FansCount int64 `json:"fans_count"` FansCountIncreaseMonth int64 `json:"fans_count_increase_month"` ArchiveCount int64 `json:"archive_count"` PlayCountAccumulate int64 `json:"play_count_accumulate"` PlayCountAverage int64 `json:"play_count_average"` ActiveTid int16 `json:"active_tid"` LastArchiveTime xtime.Time `json:"last_archive_time"` State MCNUPRecommendState `json:"state"` Source MCNUPRecommendSource `json:"source"` GenerateTime xtime.Time `json:"generate_time"` Ctime xtime.Time `json:"ctime"` Mtime xtime.Time `json:"mtime"` }
McnUpRecommendPool .
type SignPayInfo ¶
type SignPayInfo struct { SignPayID int64 `json:"sign_pay_id"` McnMid int64 `json:"mcn_mid"` McnName string `json:"mcn_name"` SignID int64 `json:"sign_id"` State int8 `json:"state"` DueDate xtime.Time `json:"due_date"` PayValue int64 `json:"pay_value"` // thousand bit }
SignPayInfo .
func (*SignPayInfo) GetDueDate ¶
func (s *SignPayInfo) GetDueDate() string
GetDueDate used for template
func (*SignPayInfo) GetPayValue ¶
func (s *SignPayInfo) GetPayValue() float64
GetPayValue for template
Click to show internal directories.
Click to hide internal directories.