25개 이상의 토픽을 선택하실 수 없습니다.
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- 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 "未知"
- }
- }
|