Du kan inte välja fler än 25 ämnen
Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
|
- package enum
-
- type QualificationState int32
-
- const (
- QualificationStateForWait = 1
- QualificationStateForNormal = 2
- QualificationStateForFail = 3
- )
-
- func (gt QualificationState) String() string {
- switch gt {
- case QualificationStateForNormal:
- return "审核成功"
- case QualificationStateForFail:
- return "审核失败"
- case QualificationStateForWait:
- return "待审核"
- default:
- return "待审核"
- }
- }
-
- type QualificationType int32
-
- const (
- QualificationTypeCompany = 1
- QualificationTypeOwn = 2
- )
-
- func (gt QualificationType) String() string {
- switch gt {
- case QualificationTypeCompany:
- return "企业"
- case QualificationTypeOwn:
- return "个人"
- default:
- return "未知"
- }
- }
|