mbas

package
v0.11.7 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateOldUser

func CreateOldUser(m map[string]string) error

func Destroy

func Destroy()

func GetGroup

func GetGroup(tangentId string) ([]string, error)

func Init

func Init(baseUrl string, timeoutSec time.Duration)

func SetGroup

func SetGroup(req *SetGroupRequest) error

Types

type CheckInRecordInfo

type CheckInRecordInfo struct {
	ID          string `json:"id"`
	CheckInTime string `json:"checkInTime"`
	UserId      string `json:"userId"`
	TangentId   string `json:"tangentId"`
}

type CreateCheckInRecordRequest

type CreateCheckInRecordRequest struct {
	TangentId   string `json:"tangentId" binding:"required"`
	UserId      string `json:"userId" binding:"required"`
	CheckInTime string `json:"checkInTime" binding:"required"`
}

type CreateOldCheckInUserRequest

type CreateOldCheckInUserRequest struct {
	M map[string]string `json:"m"`
}

type GetCheckInRecordQuery

type GetCheckInRecordQuery struct {
	TangentId string `form:"tangentId"`
	UserId    string `form:"userId"`
	ID        string `form:"id"`
	PageNo    int    `form:"pageNo"`
	PageSize  int    `form:"pageSize"`
	Start     string `form:"start"`
	End       string `form:"end"`
}

type GetCheckInRecordResponse

type GetCheckInRecordResponse struct {
	Infos      []CheckInRecordInfo `json:"infos"`
	TotalCount int64               `json:"totalCount"`
	PageNo     int                 `json:"pageNo"`
	// contains filtered or unexported fields
}

type GetGroupResponse

type GetGroupResponse struct {
	UserIds []string `json:"userIds"`
	// contains filtered or unexported fields
}

type SetGroupRequest

type SetGroupRequest struct {
	TangentId string `json:"tangentId" binding:"required"`
	UserIds   string `json:"userIds" binding:"required"`
}

Jump to

Keyboard shortcuts

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