Initial commit

This commit is contained in:
Donny
2019-04-22 20:46:32 +08:00
commit 49ab8aadd1
25441 changed files with 4055000 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
package model
// IdentifyStatus .
type IdentifyStatus int8
// IdentifyStatus enum
const (
IdentifyNotOK IdentifyStatus = iota
IdentifyOK
// ApiIdentifyOk identify ok
APIIdentifyOk = 0
// ApiIdentifyNoInfo no identify info
APIIdentifyNoInfo = 1
)
// Identification .
type Identification struct {
Identification IdentifyStatus `json:"identification"`
}
// IdentifyInfo identify info.
type IdentifyInfo struct {
Identify int8 `json:"'identify'"`
Phone int8 `json:"phone"`
}
// IdentifyApply identify apply info.
type IdentifyApply struct {
Identify int8 `json:"'identify'"`
Applied bool `json:"applied"`
}