|
@@ -20,6 +20,7 @@ type UserSourceClickFlow struct {
|
|
|
UseId int
|
|
|
Mobile string
|
|
|
SourceId int
|
|
|
+ SourceTitle string
|
|
|
SourceType SourceType
|
|
|
ClickTime time.Time
|
|
|
ReadDurationSeconds int64
|
|
@@ -35,6 +36,7 @@ func (m *UserSourceClickFlow) ToView() UserSourceClickFlowView {
|
|
|
ClickTime: m.ClickTime.Format(time.DateTime),
|
|
|
SourceId: m.SourceId,
|
|
|
SourceName: getSourceName(m.SourceType),
|
|
|
+ SourceTitle: m.SourceTitle,
|
|
|
ReadDurationMinutes: parseMinutes(m.ReadDurationSeconds),
|
|
|
}
|
|
|
}
|
|
@@ -50,6 +52,7 @@ func parseMinutes(seconds int64) string {
|
|
|
type UserSourceClickFlowView struct {
|
|
|
SourceId int
|
|
|
SourceName string
|
|
|
+ SourceTitle string
|
|
|
PermissionNames string
|
|
|
ClickTime string
|
|
|
ReadDurationMinutes string
|