Documentation ¶
Index ¶
- func BatchCreateParent(params *ParamsParentBatchCreate, result *ResultParentBatchCreate) wx.Action
- func BatchCreateStudent(params *ParamsStudentBatchCreate, result *ResultStudentBatchCreate) wx.Action
- func BatchDeleteParent(userIDs []string, result *ResultParentBatchDelete) wx.Action
- func BatchDeleteStudent(userIDs []string, result *ResultStudentBatchDelete) wx.Action
- func BatchUpdateParent(params *ParamsParentBatchUpdate, result *ResultParentBatchUpdate) wx.Action
- func BatchUpdateStudent(params *ParamsStudentBatchUpdate, result *ResultStudentBatchUpdate) wx.Action
- func ConvertToOpenID(userID string, result *ResultOpenIDConvert) wx.Action
- func CreateDepartment(params *ParamsDepartmentCreate, result *ResultDepartmentCreate) wx.Action
- func CreateParent(params *ParamsParentCreate) wx.Action
- func CreateStudent(params *ParamsStudentCreate) wx.Action
- func DeleteDepartment(id int64) wx.Action
- func DeleteLivingReplayData(livingID string) wx.Action
- func DeleteParent(userID string) wx.Action
- func DeleteStudent(userID string) wx.Action
- func GetAgentAllowScope(agentID int64, result *ResultAgentAllowScope) wx.Action
- func GetExternalContact(externalUserID string, result *ResultExternalContact) wx.Action
- func GetHealthQRCode(objType int, userIDs []string, result *ResultHealthQRCode) wx.Action
- func GetHealthReportAnswer(jobID, date string, offset, limit int, result *ResultHealthReportAnswer) wx.Action
- func GetHealthReportJobIDs(offset, limit int, result *ResultHealthReportJobIDs) wx.Action
- func GetHealthReportJobInfo(jobID, date string, result *ResultHealthReportJobInfo) wx.Action
- func GetHealthReportStat(date string, result *ResultHealthReportStat) wx.Action
- func GetLivingInfo(livingID string, result *ResultLivingInfo) wx.Action
- func GetLivingUnwatchStat(livingID, nextKey string, result *ResultLivingUnwatchStat) wx.Action
- func GetLivingWatchStat(livingID, nextKey string, result *ResultLivingWatchStat) wx.Action
- func GetPaymentResult(paymentID string, result *ResultPaymentGet) wx.Action
- func GetStudentCustomizeHealthInfo(date, nextKey string, limit int, result *ResultCustomizeHealthInfo) wx.Action
- func GetSubscribeMode(result *ResultSubscribeModeGet) wx.Action
- func GetSubscribeQRCode(result *ResultSubscribeQRCode) wx.Action
- func GetTeacherCustomizeHealthInfo(date, nextKey string, limit int, result *ResultCustomizeHealthInfo) wx.Action
- func GetTrade(paymentID, tradeNO string, result *ResultTradeGet) wx.Action
- func GetUser(userID string, result *ResultUserGet) wx.Action
- func GetUserAllLivingID(userID, cursor string, limit int, result *ResultUserAllLivingID) wx.Action
- func ListDepartment(id int64, result *ResultDepartmentList) wx.Action
- func ListParent(departmentID int64, result *ResultParentList) wx.Action
- func ListUser(departmentID int64, fetchChild int, result *ResultUserList) wx.Action
- func SetArchSyncMode(mode int) wx.Action
- func SetSubscribeMode(mode int) wx.Action
- func SetUpgradeInfo(upgradeTime int64, upgradeSwitch int, result *ResultUpgradeInfoSet) wx.Action
- func UpdateDeparment(params *ParamsDepartmentUpdate) wx.Action
- func UpdateParent(params *ParamsParentUpdate) wx.Action
- func UpdateStudent(params *ParamsStudentUpdate) wx.Action
- type AgentAllowScope
- type AgentAllowStudent
- type Attr
- type AttrMinip
- type AttrText
- type AttrWeb
- type Child
- type CustomizeHealthInfo
- type CustomizeHealthQuestionTemplate
- type CustomizeHealthReportValue
- type Department
- type DepartmentAdmin
- type DepartmentAdminCreate
- type DepartmentAdminUpdate
- type ExternalContact
- type ExternalProfile
- type FollowTag
- type FollowUser
- type HealthQRCode
- type HealthQuestionOption
- type HealthQuestionTemplate
- type HealthReportAnswer
- type HealthReportApplyRange
- type HealthReportJobInfo
- type HealthReportTo
- type HealthReportValue
- type LivingInfo
- type LivingRange
- type LivingUnwatchStatInfo
- type LivingUnwatchStudent
- type LivingVisitor
- type LivingWatchStatInfo
- type LivingWatchStudent
- type ParamsArchSyncModeSet
- type ParamsChild
- type ParamsCustomizeHealthInfo
- type ParamsDepartmentCreate
- type ParamsDepartmentUpdate
- type ParamsHealthQRCode
- type ParamsHealthReportAnswer
- type ParamsHealthReportJobIDs
- type ParamsHealthReportJobInfo
- type ParamsHealthReportStat
- type ParamsLivingReplayDataDelete
- type ParamsLivingUnwatchStat
- type ParamsLivingWatchStat
- type ParamsOpenIDConvert
- type ParamsParentBatchCreate
- type ParamsParentBatchDelete
- type ParamsParentBatchUpdate
- type ParamsParentCreate
- type ParamsParentUpdate
- type ParamsPaymentGet
- type ParamsStudentBatchCreate
- type ParamsStudentBatchDelete
- type ParamsStudentBatchUpdate
- type ParamsStudentCreate
- type ParamsStudentUpdate
- type ParamsSubscribeModeSet
- type ParamsTradeGet
- type ParamsUpgradeInfoSet
- type ParamsUserAllLivingID
- type Parent
- type ParentErrRet
- type PaymentInfo
- type ResultAgentAllowScope
- type ResultCustomizeHealthInfo
- type ResultDepartmentCreate
- type ResultDepartmentList
- type ResultExternalContact
- type ResultHealthQRCode
- type ResultHealthReportAnswer
- type ResultHealthReportJobIDs
- type ResultHealthReportJobInfo
- type ResultHealthReportStat
- type ResultLivingInfo
- type ResultLivingUnwatchStat
- type ResultLivingWatchStat
- type ResultOpenIDConvert
- type ResultParentBatchCreate
- type ResultParentBatchDelete
- type ResultParentBatchUpdate
- type ResultParentList
- type ResultPaymentGet
- type ResultStudentBatchCreate
- type ResultStudentBatchDelete
- type ResultStudentBatchUpdate
- type ResultSubscribeModeGet
- type ResultSubscribeQRCode
- type ResultTradeGet
- type ResultUpgradeInfoSet
- type ResultUserAllLivingID
- type ResultUserGet
- type ResultUserList
- type Student
- type StudentErrRet
- type SubscriberInfo
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 DeleteLivingReplayData ¶
DeleteLivingReplayData 删除直播回放
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 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 SetUpgradeInfo ¶
func SetUpgradeInfo(upgradeTime int64, upgradeSwitch int, result *ResultUpgradeInfoSet) wx.Action
SetUpgradeInfo 修改自动升年级的配置
func UpdateDeparment ¶
func UpdateDeparment(params *ParamsDepartmentUpdate) wx.Action
UpdateDeparment 更新部门
Types ¶
type AgentAllowScope ¶
type AgentAllowScope struct { Students []*AgentAllowStudent `json:"students"` Departments []int64 `json:"departments"` }
type AgentAllowStudent ¶
type AgentAllowStudent struct {
UserID string `json:"userid"`
}
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 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 DepartmentAdminCreate ¶
type DepartmentAdminUpdate ¶
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 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 HealthQuestionOption ¶
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 HealthReportApplyRange ¶
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 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 LivingUnwatchStatInfo ¶
type LivingUnwatchStatInfo struct {
Students []*LivingUnwatchStudent `json:"students"`
}
type LivingUnwatchStudent ¶
type LivingVisitor ¶
type LivingWatchStatInfo ¶
type LivingWatchStatInfo struct { Students []*LivingWatchStudent `json:"students"` Visitors []*LivingVisitor `json:"visitors"` }
type LivingWatchStudent ¶
type ParamsArchSyncModeSet ¶
type ParamsArchSyncModeSet struct {
ArchSyncMode int `json:"arch_sync_mode"`
}
type ParamsChild ¶
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 ParamsHealthReportStat ¶
type ParamsHealthReportStat struct {
Date string `json:"date"`
}
type ParamsLivingReplayDataDelete ¶
type ParamsLivingReplayDataDelete struct {
LivingID string `json:"livingid"`
}
type ParamsLivingUnwatchStat ¶
type ParamsLivingWatchStat ¶
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 ParamsStudentUpdate ¶
type ParamsSubscribeModeSet ¶
type ParamsSubscribeModeSet struct {
SubscribeMode int `json:"subscribe_mode"`
}
type ParamsTradeGet ¶
type ParamsUpgradeInfoSet ¶
type ParamsUserAllLivingID ¶
type ParentErrRet ¶
type PaymentInfo ¶
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 ResultHealthReportJobInfo ¶
type ResultHealthReportJobInfo struct {
JobInfo *HealthReportJobInfo `json:"job_info"`
}
type ResultHealthReportStat ¶
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 []*ParentErrRet `json:"result_list"`
}
type ResultParentBatchDelete ¶
type ResultParentBatchDelete struct {
ResultList []*ParentErrRet `json:"result_list"`
}
type ResultParentBatchUpdate ¶
type ResultParentBatchUpdate struct {
ResultList []*ParentErrRet `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 []*StudentErrRet `json:"result_list"`
}
type ResultStudentBatchDelete ¶
type ResultStudentBatchDelete struct {
ResultList []*StudentErrRet `json:"result_list"`
}
type ResultStudentBatchUpdate ¶
type ResultStudentBatchUpdate struct {
ResultList []*StudentErrRet `json:"result_list"`
}
type ResultSubscribeModeGet ¶
type ResultSubscribeModeGet struct {
SubscribeMode int `json:"subscribe_mode"`
}
type ResultSubscribeQRCode ¶
type ResultTradeGet ¶
type ResultUpgradeInfoSet ¶
type ResultUpgradeInfoSet struct {
NextUpgradeTime int64 `json:"next_upgrade_time"`
}
type ResultUserAllLivingID ¶
type ResultUserGet ¶
type ResultUserList ¶
type ResultUserList struct {
Students []*Student `json:"students"`
}