school

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BatchCreateParent

func BatchCreateParent(params *ParamsParentBatchCreate, result *ResultParentBatchCreate) wx.Action

BatchCreateParent 批量创建家长

func BatchCreateStudent

func BatchCreateStudent(params *ParamsStudentBatchCreate, result *ResultStudentBatchCreate) wx.Action

BatchCreateStudent 批量创建学生

func BatchDeleteParent

func BatchDeleteParent(userIDs []string, result *ResultParentBatchDelete) wx.Action

BatchDeleteParent 批量删除家长

func BatchDeleteStudent

func BatchDeleteStudent(userIDs []string, result *ResultStudentBatchDelete) wx.Action

BatchDeleteStudent 批量删除学生

func BatchUpdateParent

func BatchUpdateParent(params *ParamsParentBatchUpdate, result *ResultParentBatchUpdate) wx.Action

BatchUpdateParent 批量更新家长

func BatchUpdateStudent

func BatchUpdateStudent(params *ParamsStudentBatchUpdate, result *ResultStudentBatchUpdate) wx.Action

BatchUpdateStudent 批量更新学生

func ConvertToOpenID

func ConvertToOpenID(userID string, result *ResultOpenIDConvert) wx.Action

ConvertToOpenID 外部联系人openid转换

func CreateDepartment

func CreateDepartment(params *ParamsDepartmentCreate, result *ResultDepartmentCreate) wx.Action

CreateDepartment 创建部门

func CreateParent

func CreateParent(params *ParamsParentCreate) wx.Action

CreateParent 创建家长

func CreateStudent

func CreateStudent(params *ParamsStudentCreate) wx.Action

CreateStudent 创建学生

func DeleteDepartment

func DeleteDepartment(id int64) wx.Action

DeleteDepartment 删除部门

func DeleteLivingReplayData

func DeleteLivingReplayData(livingID string) wx.Action

DeleteLivingReplayData 删除直播回放

func DeleteParent

func DeleteParent(userID string) wx.Action

DeleteParent 删除家长

func DeleteStudent

func DeleteStudent(userID string) wx.Action

DeleteStudent 删除学生

func GetAgentAllowScope

func GetAgentAllowScope(agentID int64, result *ResultAgentAllowScope) wx.Action

GetAgentAllowScope 获取可使用的家长范围

func GetExternalContact

func GetExternalContact(externalUserID string, result *ResultExternalContact) wx.Action

GetExternalContact 获取外部联系人详情

func GetHealthQRCode

func GetHealthQRCode(objType int, userIDs []string, result *ResultHealthQRCode) wx.Action

GetHealthQRCode 获取师生健康码

func GetHealthReportAnswer

func GetHealthReportAnswer(jobID, date string, offset, limit int, result *ResultHealthReportAnswer) wx.Action

GetHealthReportAnswer 获取用户填写答案

func GetHealthReportJobIDs

func GetHealthReportJobIDs(offset, limit int, result *ResultHealthReportJobIDs) wx.Action

GetHealthReportJobIDs 获取健康上报任务ID列表

func GetHealthReportJobInfo

func GetHealthReportJobInfo(jobID, date string, result *ResultHealthReportJobInfo) wx.Action

GetHealthReportJobInfo 获取健康上报任务详情

func GetHealthReportStat

func GetHealthReportStat(date string, result *ResultHealthReportStat) wx.Action

GetHealthReportStat 获取健康上报使用统计

func GetLivingInfo

func GetLivingInfo(livingID string, result *ResultLivingInfo) wx.Action

GetLivingInfo 获取直播详情

func GetLivingUnwatchStat

func GetLivingUnwatchStat(livingID, nextKey string, result *ResultLivingUnwatchStat) wx.Action

GetLivingUnwatchStat 获取未观看直播统计

func GetLivingWatchStat

func GetLivingWatchStat(livingID, nextKey string, result *ResultLivingWatchStat) wx.Action

GetLivingWatchStat 获取观看直播统计

func GetPaymentResult

func GetPaymentResult(paymentID string, result *ResultPaymentGet) wx.Action

GetPaymentResult 获取学生付款结果

func GetStudentCustomizeHealthInfo

func GetStudentCustomizeHealthInfo(date, nextKey string, limit int, result *ResultCustomizeHealthInfo) wx.Action

GetStudentCustomizeHealthInfo 获取学生健康信息

func GetSubscribeMode

func GetSubscribeMode(result *ResultSubscribeModeGet) wx.Action

GetSubscribeMode 获取关注「学校通知」的模式

func GetSubscribeQRCode

func GetSubscribeQRCode(result *ResultSubscribeQRCode) wx.Action

GetSubscribeQRCode 获取「学校通知」二维码

func GetTeacherCustomizeHealthInfo

func GetTeacherCustomizeHealthInfo(date, nextKey string, limit int, result *ResultCustomizeHealthInfo) wx.Action

GetTeacherCustomizeHealthInfo 获取老师健康信息

func GetTrade

func GetTrade(paymentID, tradeNO string, result *ResultTradeGet) wx.Action

GetTrade 获取订单详情

func GetUser

func GetUser(userID string, result *ResultUserGet) wx.Action

GetUser 读取学生或家长

func GetUserAllLivingID

func GetUserAllLivingID(userID, cursor string, limit int, result *ResultUserAllLivingID) wx.Action

GetUserAllLivingID 获取老师直播ID列表

func ListDepartment

func ListDepartment(id int64, result *ResultDepartmentList) wx.Action

ListDepartment 获取部门列表

func ListParent

func ListParent(departmentID int64, result *ResultParentList) wx.Action

ListParent 获取部门家长详情

func ListUser

func ListUser(departmentID int64, fetchChild int, result *ResultUserList) wx.Action

ListUser 获取部门成员详情

func SetArchSyncMode

func SetArchSyncMode(mode int) wx.Action

SetArchSyncMode 设置家校通讯录自动同步模式

func SetSubscribeMode

func SetSubscribeMode(mode int) wx.Action

SetSubscribeMode 设置关注「学校通知」的模式

func SetUpgradeInfo

func SetUpgradeInfo(upgradeTime int64, upgradeSwitch int, result *ResultUpgradeInfoSet) wx.Action

SetUpgradeInfo 修改自动升年级的配置

func UpdateDeparment

func UpdateDeparment(params *ParamsDepartmentUpdate) wx.Action

UpdateDeparment 更新部门

func UpdateParent

func UpdateParent(params *ParamsParentUpdate) wx.Action

UpdateParent 更新家长

func UpdateStudent

func UpdateStudent(params *ParamsStudentUpdate) wx.Action

UpdateStudent 更新学生

Types

type AgentAllowScope

type AgentAllowScope struct {
	Students    []*AgentAllowStudent `json:"students"`
	Departments []int64              `json:"departments"`
}

type AgentAllowStudent

type AgentAllowStudent struct {
	UserID string `json:"userid"`
}

type Attr

type Attr struct {
	Type        int        `json:"type"`
	Name        string     `json:"name"`
	Text        *AttrText  `json:"text"`
	Web         *AttrWeb   `json:"web"`
	Miniprogram *AttrMinip `json:"miniprogram"`
}

type AttrMinip

type AttrMinip struct {
	Title    string `json:"title"`
	AppID    string `json:"appid"`
	PagePath string `json:"pagepath"`
}

type AttrText

type AttrText struct {
	Value string `json:"value"`
}

type AttrWeb

type AttrWeb struct {
	Title string `json:"title"`
	URL   string `json:"url"`
}

type Child

type Child struct {
	StudentUserID string `json:"student_userid"`
	Relation      string `json:"relation"`
	Name          string `json:"name"`
}

type CustomizeHealthInfo

type CustomizeHealthInfo struct {
	UserID             string                        `json:"userid"`
	HealthQRCodeStatus int                           `json:"health_qrcode_status"`
	SelfSubmit         int                           `json:"self_submit"`
	ReportValues       []*CustomizeHealthReportValue `json:"report_values"`
}

type CustomizeHealthQuestionTemplate

type CustomizeHealthQuestionTemplate struct {
	QuestionID   int64                   `json:"question_id"`
	Title        string                  `json:"title"`
	QuestionType int                     `json:"question_type"`
	IsMustFill   int                     `json:"is_must_fill"`
	IsNotDisplay int                     `json:"is_not_display"`
	OptionList   []*HealthQuestionOption `json:"option_list"`
}

type CustomizeHealthReportValue

type CustomizeHealthReportValue struct {
	QuestionID  int64  `json:"question_id"`
	SingleChose int    `json:"single_chose"`
	Text        string `json:"text"`
}

type Department

type Department struct {
	Name             string             `json:"name"`
	ParentID         int64              `json:"parentid"`
	ID               int64              `json:"id"`
	Type             int                `json:"type"`
	RegisterYear     int                `json:"register_year"`
	StandardGrade    int                `json:"standard_grade"`
	Order            int                `json:"order"`
	IsGraduated      int                `json:"is_graduated"`
	OpenGroupChat    int                `json:"open_group_chat"`
	GroupChatID      string             `json:"group_chat_id"`
	DepartmentAdmins []*DepartmentAdmin `json:"department_admins"`
}

type DepartmentAdmin

type DepartmentAdmin struct {
	UserID  string `json:"userid"`
	Type    int    `json:"type"`
	Subject string `json:"subject"`
}

type DepartmentAdminCreate

type DepartmentAdminCreate struct {
	UserID  string `json:"userid"`
	Type    int    `json:"type"`
	Subject string `json:"subject,omitempty"`
}

type DepartmentAdminUpdate

type DepartmentAdminUpdate struct {
	OP      int    `json:"op"`
	UserID  string `json:"userid"`
	Type    int    `json:"type,omitempty"`
	Subject string `json:"subject,omitempty"`
}

type ExternalContact

type ExternalContact struct {
	ExternalUserID  string           `json:"external_userid"`
	Name            string           `json:"name"`
	ForeignKey      string           `json:"foreign_key"`
	Position        string           `json:"position"`
	Avatar          string           `json:"avatar"`
	CorpName        string           `json:"corp_name"`
	CorpFullName    string           `json:"corp_full_name"`
	Type            int              `json:"type"`
	Gender          int              `json:"gender"`
	UnionID         string           `json:"unionid"`
	IsSubscribe     int              `json:"is_subscribe"`
	SubscriberInfo  *SubscriberInfo  `json:"subscriber_info"`
	ExternalProfile *ExternalProfile `json:"external_profile"`
}

type ExternalProfile

type ExternalProfile struct {
	ExternalAttr []*Attr `json:"external_attr"`
}

type FollowTag

type FollowTag struct {
	GroupName string `json:"group_name"`
	TagName   string `json:"tag_name"`
	TagID     string `json:"tag_id"`
	Type      int    `json:"type"`
}

type FollowUser

type FollowUser struct {
	UserID         string       `json:"userid"`
	Remark         string       `json:"remark"`
	Description    string       `json:"description"`
	CreateTime     int64        `json:"createtime"`
	RemarkCorpName string       `json:"remark_corp_name"`
	RemarkMobiles  []string     `json:"remark_mobiles"`
	State          string       `json:"state"`
	Tags           []*FollowTag `json:"tags"`
}

type HealthQRCode

type HealthQRCode struct {
	ErrCode    int    `json:"errcode"`
	ErrMsg     string `json:"errmsg"`
	UserID     string `json:"userid"`
	QRCodeData string `json:"qrcode_data"`
}

type HealthQuestionOption

type HealthQuestionOption struct {
	OptionID   int64  `json:"option_id"`
	OptionText string `json:"option_text"`
}

type HealthQuestionTemplate

type HealthQuestionTemplate struct {
	QuestionID   int64                   `json:"question_id"`
	Title        string                  `json:"title"`
	QuestionType int                     `json:"question_type"`
	IsRequired   int                     `json:"is_required"`
	OptionList   []*HealthQuestionOption `json:"option_list"`
}

type HealthReportAnswer

type HealthReportAnswer struct {
	IDType        int                  `json:"id_type"`
	UserID        string               `json:"userid"`
	StudentUserID string               `json:"student_userid"`
	ParentUserID  string               `json:"parent_userid"`
	ReportTime    int64                `json:"report_time"`
	ReportValues  []*HealthReportValue `json:"report_values"`
}

type HealthReportApplyRange

type HealthReportApplyRange struct {
	UserIDs  []string `json:"userids"`
	PartyIDs []int64  `json:"partyids"`
}

type HealthReportJobInfo

type HealthReportJobInfo struct {
	Title             string                    `json:"title"`
	Creator           string                    `json:"creator"`
	Type              int                       `json:"type"`
	ApplyRange        *HealthReportApplyRange   `json:"apply_range"`
	ReportTo          *HealthReportTo           `json:"report_to"`
	ReportType        int                       `json:"report_type"`
	SkipWeekend       int                       `json:"skip_weekend"`
	FinishCnt         int                       `json:"finish_cnt"`
	QuestionTemplates []*HealthQuestionTemplate `json:"question_templates"`
}

type HealthReportTo

type HealthReportTo struct {
	UserIDs []string `json:"userids"`
}

type HealthReportValue

type HealthReportValue struct {
	QuestionID   int64    `json:"question_id"`
	SingleChoice int      `json:"single_choice"`
	MultiChoice  []int    `json:"multi_choice"`
	Text         string   `json:"text"`
	FileID       []string `json:"fileid"`
}

type LivingInfo

type LivingInfo struct {
	Theme          string       `json:"theme"`
	LivingStart    int64        `json:"living_start"`
	LivingDuration int          `json:"living_duration"`
	AnchorUserID   string       `json:"anchor_userid"`
	LivingRange    *LivingRange `json:"living_range"`
	ViewerNum      int          `json:"viewer_num"`
	CommentNum     int          `json:"comment_num"`
	OpenReplay     int          `json:"open_replay"`
	PushStreamURL  string       `json:"push_stream_url"`
}

type LivingRange

type LivingRange struct {
	PartyIDs   []int64  `json:"partyids"`
	GroupNames []string `json:"group_names"`
}

type LivingUnwatchStatInfo

type LivingUnwatchStatInfo struct {
	Students []*LivingUnwatchStudent `json:"students"`
}

type LivingUnwatchStudent

type LivingUnwatchStudent struct {
	StudentUserID string  `json:"student_userid"`
	ParentUserID  string  `json:"parent_userid"`
	PartyIDs      []int64 `json:"partyids"`
}

type LivingVisitor

type LivingVisitor struct {
	Nickname  string `json:"nickname"`
	WatchTime int    `json:"watch_time"`
	EnterTime int64  `json:"enter_time"`
	LeaveTime int64  `json:"leave_time"`
	IsComment int    `json:"is_comment"`
}

type LivingWatchStatInfo

type LivingWatchStatInfo struct {
	Students []*LivingWatchStudent `json:"students"`
	Visitors []*LivingVisitor      `json:"visitors"`
}

type LivingWatchStudent

type LivingWatchStudent struct {
	StudentUserID string  `json:"student_userid"`
	ParentUserID  string  `json:"parent_userid"`
	PartyIDs      []int64 `json:"partyids"`
	WatchTime     int     `json:"watch_time"`
	EnterTime     int64   `json:"enter_time"`
	LeaveTime     int64   `json:"leave_time"`
	IsComment     int     `json:"is_comment"`
}

type ParamsArchSyncModeSet

type ParamsArchSyncModeSet struct {
	ArchSyncMode int `json:"arch_sync_mode"`
}

type ParamsChild

type ParamsChild struct {
	StudentUserID string `json:"student_userid"`
	Relation      string `json:"relation"`
}

type ParamsCustomizeHealthInfo

type ParamsCustomizeHealthInfo struct {
	Date    string `json:"date"`
	NextKey string `json:"next_key"`
	Limit   int    `json:"limit"`
}

type ParamsDepartmentCreate

type ParamsDepartmentCreate struct {
	Name             string                   `json:"name,omitempty"`
	ParentID         int64                    `json:"parentid"`
	ID               int64                    `json:"id,omitempty"`
	Type             int                      `json:"type"`
	RegisterYear     int                      `json:"register_year,omitempty"`
	StandardGrade    int                      `json:"standard_grade,omitempty"`
	Order            int                      `json:"order,omitempty"`
	DepartmentAdmins []*DepartmentAdminCreate `json:"department_admins,omitempty"`
}

type ParamsDepartmentUpdate

type ParamsDepartmentUpdate struct {
	Name             string                   `json:"name,omitempty"`
	ParentID         int64                    `json:"parentid,omitempty"`
	ID               int64                    `json:"id"`
	RegisterYear     int                      `json:"register_year,omitempty"`
	StandardGrade    int                      `json:"standard_grade,omitempty"`
	Order            int                      `json:"order,omitempty"`
	NewID            int64                    `json:"new_id,omitempty"`
	DepartmentAdmins []*DepartmentAdminUpdate `json:"department_admins,omitempty"`
}

type ParamsHealthQRCode

type ParamsHealthQRCode struct {
	Type    int      `json:"type"`
	UserIDs []string `json:"userids"`
}

type ParamsHealthReportAnswer

type ParamsHealthReportAnswer struct {
	JobID  string `json:"jobid"`
	Date   string `json:"date"`
	Offset int    `json:"offset,omitempty"`
	Limit  int    `json:"limit,omitempty"`
}

type ParamsHealthReportJobIDs

type ParamsHealthReportJobIDs struct {
	Offset int `json:"offset,omitempty"`
	Limit  int `json:"limit,omitempty"`
}

type ParamsHealthReportJobInfo

type ParamsHealthReportJobInfo struct {
	JobID string `json:"jobid"`
	Date  string `json:"date"`
}

type ParamsHealthReportStat

type ParamsHealthReportStat struct {
	Date string `json:"date"`
}

type ParamsLivingReplayDataDelete

type ParamsLivingReplayDataDelete struct {
	LivingID string `json:"livingid"`
}

type ParamsLivingUnwatchStat

type ParamsLivingUnwatchStat struct {
	LivingID string `json:"livingid"`
	NextKey  string `json:"next_key,omitempty"`
}

type ParamsLivingWatchStat

type ParamsLivingWatchStat struct {
	LivingID string `json:"livingid"`
	NextKey  string `json:"next_key,omitempty"`
}

type ParamsOpenIDConvert

type ParamsOpenIDConvert struct {
	ExternalUserID string `json:"external_userid"`
}

type ParamsParentBatchCreate

type ParamsParentBatchCreate struct {
	Parents []*ParamsParentCreate `json:"parents"`
}

type ParamsParentBatchDelete

type ParamsParentBatchDelete struct {
	UserIDList []string `json:"useridlist"`
}

type ParamsParentBatchUpdate

type ParamsParentBatchUpdate struct {
	Parents []*ParamsParentUpdate `json:"parents"`
}

type ParamsParentCreate

type ParamsParentCreate struct {
	ParentUserID string         `json:"parent_userid"`
	Mobile       string         `json:"mobile"`
	ToInvite     *bool          `json:"to_invite,omitempty"`
	Children     []*ParamsChild `json:"children"`
}

type ParamsParentUpdate

type ParamsParentUpdate struct {
	ParentUserID    string         `json:"parent_userid"`
	NewParentUserID string         `json:"new_parent_userid,omitempty"`
	Mobile          string         `json:"mobile,omitempty"`
	Children        []*ParamsChild `json:"children,omitempty"`
}

type ParamsPaymentGet

type ParamsPaymentGet struct {
	PaymentID string `json:"payment_id"`
}

type ParamsStudentBatchCreate

type ParamsStudentBatchCreate struct {
	Students []*ParamsStudentCreate `json:"students"`
}

type ParamsStudentBatchDelete

type ParamsStudentBatchDelete struct {
	UserIDList []string `json:"useridlist"`
}

type ParamsStudentBatchUpdate

type ParamsStudentBatchUpdate struct {
	Students []*ParamsStudentUpdate `json:"students"`
}

type ParamsStudentCreate

type ParamsStudentCreate struct {
	StudentUserID string  `json:"student_userid"`
	Name          string  `json:"name"`
	Department    []int64 `json:"department"`
}

type ParamsStudentUpdate

type ParamsStudentUpdate struct {
	StudentUserID    string  `json:"student_userid"`
	NewStudentUserID string  `json:"new_student_userid,omitempty"`
	Name             string  `json:"name,omitempty"`
	Department       []int64 `json:"department,omitempty"`
}

type ParamsSubscribeModeSet

type ParamsSubscribeModeSet struct {
	SubscribeMode int `json:"subscribe_mode"`
}

type ParamsTradeGet

type ParamsTradeGet struct {
	PaymentID string `json:"payment_id"`
	TradeNO   string `json:"trade_no"`
}

type ParamsUpgradeInfoSet

type ParamsUpgradeInfoSet struct {
	UpgradeTime   int64 `json:"upgrade_time"`
	UpgradeSwitch int   `json:"upgrade_switch"`
}

type ParamsUserAllLivingID

type ParamsUserAllLivingID struct {
	UserID string `json:"userid"`
	Cursor string `json:"cursor"`
	Limit  int    `json:"limit"`
}

type Parent

type Parent struct {
	ParentUserID   string   `json:"parent_userid"`
	Relation       string   `json:"relation"`
	Mobile         string   `json:"mobile"`
	IsSubscribe    int      `json:"is_subscribe"`
	ExternalUserID string   `json:"external_userid"`
	Children       []*Child `json:"children"`
}

type ParentErrResult

type ParentErrResult struct {
	ParentUserID string `json:"parent_userid"`
	ErrCode      int    `json:"errcode"`
	ErrMsg       string `json:"errmsg"`
}

type PaymentInfo

type PaymentInfo struct {
	StudentUserID     string `json:"student_userid"`
	TradeState        int    `json:"trade_state"`
	TradeNO           string `json:"trade_no"`
	PayerParentUserID string `json:"payer_parent_userid"`
}

type ResultAgentAllowScope

type ResultAgentAllowScope struct {
	AllowScope *AgentAllowScope `json:"allow_scope"`
}

type ResultCustomizeHealthInfo

type ResultCustomizeHealthInfo struct {
	HealthInfos       []*CustomizeHealthInfo             `json:"health_infos"`
	QuestionTemplates []*CustomizeHealthQuestionTemplate `json:"question_templates"`
	TemplateID        string                             `json:"template_id"`
	Ending            int                                `json:"ending"`
	NextKey           string                             `json:"next_key"`
}

type ResultDepartmentCreate

type ResultDepartmentCreate struct {
	ID int64 `json:"id"`
}

type ResultDepartmentList

type ResultDepartmentList struct {
	Departments []*Department `json:"departments"`
}

type ResultExternalContact

type ResultExternalContact struct {
	ExternalContact *ExternalContact `json:"external_contact"`
	FollowUser      []*FollowUser    `json:"follow_user"`
}

type ResultHealthQRCode

type ResultHealthQRCode struct {
	ResultList []*HealthQRCode `json:"result_list"`
}

type ResultHealthReportAnswer

type ResultHealthReportAnswer struct {
	Answers []*HealthReportAnswer `json:"answers"`
}

type ResultHealthReportJobIDs

type ResultHealthReportJobIDs struct {
	Ending int      `json:"ending"`
	JobIDs []string `json:"jobids"`
}

type ResultHealthReportJobInfo

type ResultHealthReportJobInfo struct {
	JobInfo *HealthReportJobInfo `json:"job_info"`
}

type ResultHealthReportStat

type ResultHealthReportStat struct {
	PV int `json:"pv"`
	UV int `json:"uv"`
}

type ResultLivingInfo

type ResultLivingInfo struct {
	LivingInfo *LivingInfo `json:"living_info"`
}

type ResultLivingUnwatchStat

type ResultLivingUnwatchStat struct {
	Ending   int                    `json:"ending"`
	NextKey  string                 `json:"next_key"`
	StatInfo *LivingUnwatchStatInfo `json:"stat_info"`
}

type ResultLivingWatchStat

type ResultLivingWatchStat struct {
	Ending     int                  `json:"ending"`
	NextKey    string               `json:"next_key"`
	StatInfoes *LivingWatchStatInfo `json:"stat_infoes"`
}

type ResultOpenIDConvert

type ResultOpenIDConvert struct {
	OpenID string `json:"openid"`
}

type ResultParentBatchCreate

type ResultParentBatchCreate struct {
	ResultList []*ParentErrResult `json:"result_list"`
}

type ResultParentBatchDelete

type ResultParentBatchDelete struct {
	ResultList []*ParentErrResult `json:"result_list"`
}

type ResultParentBatchUpdate

type ResultParentBatchUpdate struct {
	ResultList []*ParentErrResult `json:"result_list"`
}

type ResultParentList

type ResultParentList struct {
	Parents []*Parent `json:"parents"`
}

type ResultPaymentGet

type ResultPaymentGet struct {
	ProjectName   string         `json:"project_name"`
	Amount        int            `json:"amount"`
	PaymentResult []*PaymentInfo `json:"payment_result"`
}

type ResultStudentBatchCreate

type ResultStudentBatchCreate struct {
	ResultList []*StudentErrResult `json:"result_list"`
}

type ResultStudentBatchDelete

type ResultStudentBatchDelete struct {
	ResultList []*StudentErrResult `json:"result_list"`
}

type ResultStudentBatchUpdate

type ResultStudentBatchUpdate struct {
	ResultList []*StudentErrResult `json:"result_list"`
}

type ResultSubscribeModeGet

type ResultSubscribeModeGet struct {
	SubscribeMode int `json:"subscribe_mode"`
}

type ResultSubscribeQRCode

type ResultSubscribeQRCode struct {
	QRCodeBig    string `json:"qrcode_big"`
	QRCodeMiddle string `json:"qrcode_middle"`
	QRCodeThumb  string `json:"qrcode_thumb"`
}

type ResultTradeGet

type ResultTradeGet struct {
	TransactionID string `json:"transaction_id"`
	PayTime       int64  `json:"pay_time"`
}

type ResultUpgradeInfoSet

type ResultUpgradeInfoSet struct {
	NextUpgradeTime int64 `json:"next_upgrade_time"`
}

type ResultUserAllLivingID

type ResultUserAllLivingID struct {
	NextCursor   string   `json:"next_cursor"`
	LivingIDList []string `json:"livingid_list"`
}

type ResultUserGet

type ResultUserGet struct {
	UserType int      `json:"user_type"`
	Student  *Student `json:"student"`
	Parent   *Parent  `json:"parent"`
}

type ResultUserList

type ResultUserList struct {
	Students []*Student `json:"students"`
}

type Student

type Student struct {
	StudentUserID string    `json:"student_userid"`
	Name          string    `json:"name"`
	Department    []int64   `json:"department"`
	Parents       []*Parent `json:"parents"`
}

type StudentErrResult

type StudentErrResult struct {
	StudentUserID string `json:"student_userid"`
	ErrCode       int    `json:"errcode"`
	ErrMsg        string `json:"errmsg"`
}

type SubscriberInfo

type SubscriberInfo struct {
	TagID         []string `json:"tag_id"`
	RemarkMobiles []string `json:"remark_mobiles"`
	Remark        string   `json:"remark"`
}

Jump to

Keyboard shortcuts

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