@@ -32,6 +32,7 @@ type EventIndexDoc struct {
|
|||||||
StartTime time.Time `json:"start_time"`
|
StartTime time.Time `json:"start_time"`
|
||||||
EndTime time.Time `json:"end_time"`
|
EndTime time.Time `json:"end_time"`
|
||||||
Thumbnail string `json:"thumbnail"`
|
Thumbnail string `json:"thumbnail"`
|
||||||
|
RequireKyc bool `json:"require_kyc"`
|
||||||
JoinCount int64 `json:"join_count"`
|
JoinCount int64 `json:"join_count"`
|
||||||
CheckinCount int64 `json:"checkin_count"`
|
CheckinCount int64 `json:"checkin_count"`
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2014,6 +2014,9 @@ const docTemplate = `{
|
|||||||
"name": {
|
"name": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
"require_kyc": {
|
||||||
|
"type": "boolean"
|
||||||
|
},
|
||||||
"start_time": {
|
"start_time": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -2012,6 +2012,9 @@
|
|||||||
"name": {
|
"name": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
"require_kyc": {
|
||||||
|
"type": "boolean"
|
||||||
|
},
|
||||||
"start_time": {
|
"start_time": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -14,6 +14,8 @@ definitions:
|
|||||||
type: integer
|
type: integer
|
||||||
name:
|
name:
|
||||||
type: string
|
type: string
|
||||||
|
require_kyc:
|
||||||
|
type: boolean
|
||||||
start_time:
|
start_time:
|
||||||
type: string
|
type: string
|
||||||
thumbnail:
|
thumbnail:
|
||||||
|
|||||||
@@ -106,6 +106,7 @@ func (self *EventServiceImpl) GetEventInfo(payload *EventInfoPayload) (result *E
|
|||||||
StartTime: event.StartTime,
|
StartTime: event.StartTime,
|
||||||
EndTime: event.EndTime,
|
EndTime: event.EndTime,
|
||||||
Thumbnail: event.Thumbnail,
|
Thumbnail: event.Thumbnail,
|
||||||
|
RequireKyc: event.EnableKYC,
|
||||||
JoinCount: joinCount,
|
JoinCount: joinCount,
|
||||||
CheckinCount: checkinCount,
|
CheckinCount: checkinCount,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user