mbmm

package
v0.15.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 18, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCheckIn

func CreateCheckIn(req *CheckIn) error

func Destroy

func Destroy()

func ExportCheckInList added in v0.12.34

func ExportCheckInList(enterpriseId string) (string, error)

func Init

func Init(baseUrl string, timeoutSec time.Duration)

Types

type CheckIn

type CheckIn struct {
	UserId      string `json:"user_id"`
	MeetingId   string `json:"meeting_id"`
	Name        string `json:"name"`
	Phone       string `json:"phone"`
	Company     string `json:"company"`
	Province    string `json:"province"`
	City        string `json:"city"`
	County      string `json:"county"`
	CreateTime  string `json:"create_time"`
	MeetingName string `json:"meeting_name"`
}

func GetCheckIn

func GetCheckIn(req *GetCheckInRequest) (*CheckIn, error)

type ExportCheckInListResponse added in v0.12.35

type ExportCheckInListResponse struct {
	Data string `json:"data"`
	// contains filtered or unexported fields
}

type GetCheckInListRequest added in v0.12.27

type GetCheckInListRequest struct {
	EnterpriseId string `form:"enterpriseId"`
	Province     string `form:"province"`
	City         string `form:"city"`
	County       string `form:"county"`
	Company      string `form:"company"`
	PageNo       int    `form:"pageNo"`
	PageSize     int    `form:"pageSize"`
}

type GetCheckInListResponse added in v0.12.27

type GetCheckInListResponse struct {
	Data PagedCheckList `json:"data"`
	// contains filtered or unexported fields
}

type GetCheckInRequest

type GetCheckInRequest struct {
	UserId    string `form:"user_id"`
	MeetingId string `form:"meeting_id"`
}

type GetCheckInResponse

type GetCheckInResponse struct {
	Data CheckIn `json:"data"`
	// contains filtered or unexported fields
}

type GetDocByIdResponse

type GetDocByIdResponse struct {
	Data MeetingDocument `json:"data"`
	// contains filtered or unexported fields
}

type GetMeetingAgendaRequest

type GetMeetingAgendaRequest struct {
	MeetingId string `form:"meeting_id"`
}

type GetMeetingAgendaResponse

type GetMeetingAgendaResponse struct {
	Data []MeetingAgenda `json:"data"`
	// contains filtered or unexported fields
}

type GetMeetingByIdResponse

type GetMeetingByIdResponse struct {
	Data Meeting `json:"data"`
	// contains filtered or unexported fields
}

type GetMeetingDocsRequest

type GetMeetingDocsRequest struct {
	MeetingId string `form:"meeting_id"`
}

type GetMeetingDocsResponse

type GetMeetingDocsResponse struct {
	Data []MeetingDocument `json:"data"`
	// contains filtered or unexported fields
}

type GetNavigationRequest added in v0.12.27

type GetNavigationRequest struct {
	MeetingId string `form:"meeting_id"`
}

type Meeting

type Meeting struct {
	ID            string `json:"id"`
	Name          string `json:"name"`
	Address       string `json:"address"`
	Host          string `json:"host"`
	BackgroundPic string `json:"background_pic"`
	SeatPic       string `json:"seat_pic"`
	StartTime     string `json:"startTime"`
	EndTime       string `json:"endTime"`
}

func GetMeetingById

func GetMeetingById(meetingId string) (*Meeting, error)

func MyMeetings

func MyMeetings(userId string) ([]Meeting, error)

type MeetingAgenda

type MeetingAgenda struct {
	ID            string `json:"id"`
	MeetingId     string `json:"meeting_id"`
	Sort          int    `json:"sort"`
	AgendaTime    string `json:"agenda_time"`
	AgendaContent string `json:"agenda_content"`
	AgendaHost    string `json:"agenda_host"`
	Group         string `json:"group"`
}

func GetMeetingAgenda

func GetMeetingAgenda(req *GetMeetingAgendaRequest) ([]MeetingAgenda, error)

type MeetingDocument

type MeetingDocument struct {
	ID        string `gorm:"primary_key;type:varchar(32);comment:id" json:"id"`
	Title     string `gorm:"type:varchar(256)" json:"title"`
	Content   string `json:"content"`
	Url       string `gorm:"type:varchar(256)" json:"url"`
	Type      string `gorm:"type:varchar(32)" json:"type"`
	MeetingId string `gorm:"type:varchar(256)" json:"meeting_id"`
}

func GetDocById

func GetDocById(docId string) (*MeetingDocument, error)

func GetMeetingDocs

func GetMeetingDocs(req *GetMeetingDocsRequest) ([]MeetingDocument, error)

type MyMeetingsResponse

type MyMeetingsResponse struct {
	Data []Meeting `json:"data"`
	// contains filtered or unexported fields
}
type Navigation struct {
	ID        string `json:"id"`
	Title     string `json:"title"`
	Type      string `json:"type"`
	Url       string `json:"url"`
	Sort      int    `json:"sort"`
	Level     int    `json:"level"`
	MeetingId string `json:"meeting_id"`
	Icon      string `json:"icon"`
	ParentId  string `json:"parent_id"`
}

func GetNavigation added in v0.12.27

func GetNavigation(req *GetNavigationRequest) ([]Navigation, error)
type NavigationResponse struct {
	Data []Navigation `json:"data"`
	// contains filtered or unexported fields
}

type PagedCheckList added in v0.12.27

type PagedCheckList struct {
	Total    int64     `json:"total"`
	CheckIns []CheckIn `json:"checkIns"`
	PageNo   int       `json:"pageNo"`
}

func GetCheckInList added in v0.12.27

func GetCheckInList(req *GetCheckInListRequest) (*PagedCheckList, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL