public interface WxCpSchoolService
权限说明: 仅复学码应用可以调用
| 限定符和类型 | 方法和说明 |
|---|---|
WxCpLivingResult |
deleteReplayData(@NonNull String livingId)
删除直播回放
请求方式: POST(HTTPS)
请求地址: https://qyapi.weixin.qq.com/cgi-bin/living/delete_replay_data?
|
WxCpResultList |
getHealthQrCode(@NotNull List<String> userIds,
@NotNull Integer type)
获取师生健康码
请求方式:POST(HTTPS)
请求地址:https://qyapi.weixin.qq.com/cgi-bin/school/user/get_health_qrcode?
|
WxCpSchoolLivingInfo |
getLivingInfo(@NotNull String livingId)
获取直播详情
请求方式:GET(HTTPS)
请求地址:https://qyapi.weixin.qq.com/cgi-bin/school/living/get_living_info?
|
WxCpPaymentResult |
getPaymentResult(@NotNull String paymentId)
获取学生付款结果
请求方式: POST(HTTPS)
请求地址: https://qyapi.weixin.qq.com/cgi-bin/school/get_payment_result?
|
WxCpCustomizeHealthInfo |
getStudentCustomizeHealthInfo(@NotNull String date,
String nextKey,
Integer limit)
获取学生健康信息
请求方式: POST(HTTPS)
请求地址: https://qyapi.weixin.qq.com/cgi-bin/school/user/get_student_customize_health_info?
|
WxCpCustomizeHealthInfo |
getTeacherCustomizeHealthInfo(@NotNull String date,
String nextKey,
Integer limit)
获取老师健康信息
请求方式: POST(HTTPS)
请求地址: https://qyapi.weixin.qq.com/cgi-bin/school/user/get_teacher_customize_health_info?
|
WxCpTrade |
getTrade(@NotNull String paymentId,
@NotNull String tradeNo)
获取订单详情
请求方式: POST(HTTPS)
请求地址: https://qyapi.weixin.qq.com/cgi-bin/school/get_trade?
|
WxCpSchoolUnwatchStat |
getUnwatchStat(@NonNull String livingId,
String nextKey)
获取未观看直播统计
通过该接口可以获取未观看直播的学生统计,学生的家长必须是已经关注「学校通知」才会纳入统计范围。
|
WxCpLivingResult.LivingIdResult |
getUserAllLivingId(@NonNull String userId,
String cursor,
Integer limit)
获取老师直播ID列表
通过此接口可以获取指定老师的所有直播ID
请求方式:POST(HTTPS)
请求地址:https://qyapi.weixin.qq.com/cgi-bin/living/get_user_all_livingid?
|
WxCpSchoolWatchStat |
getWatchStat(@NonNull String livingId,
String nextKey)
获取观看直播统计
通过该接口可以获取所有观看直播的人员统计
请求方式:POST(HTTPS)
请求地址:https://qyapi.weixin.qq.com/cgi-bin/school/living/get_watch_stat?
|
WxCpCustomizeHealthInfo getTeacherCustomizeHealthInfo(@NotNull @NotNull String date, String nextKey, Integer limit) throws WxErrorException
date - nextKey - limit - WxErrorExceptionWxCpCustomizeHealthInfo getStudentCustomizeHealthInfo(@NotNull @NotNull String date, String nextKey, Integer limit) throws WxErrorException
date - nextKey - limit - WxErrorExceptionWxCpResultList getHealthQrCode(@NotNull @NotNull List<String> userIds, @NotNull @NotNull Integer type) throws WxErrorException
userIds - type - WxErrorExceptionWxCpPaymentResult getPaymentResult(@NotNull @NotNull String paymentId) throws WxErrorException
paymentId - WxErrorExceptionWxCpTrade getTrade(@NotNull @NotNull String paymentId, @NotNull @NotNull String tradeNo) throws WxErrorException
paymentId - tradeNo - WxErrorExceptionWxCpSchoolLivingInfo getLivingInfo(@NotNull @NotNull String livingId) throws WxErrorException
livingId - WxErrorExceptionWxCpLivingResult.LivingIdResult getUserAllLivingId(@NonNull @NonNull String userId, String cursor, Integer limit) throws WxErrorException
请求方式:POST(HTTPS) 请求地址:https://qyapi.weixin.qq.com/cgi-bin/living/get_user_all_livingid?access_token=ACCESS_TOKEN
userId - cursor - limit - WxErrorExceptionWxCpSchoolWatchStat getWatchStat(@NonNull @NonNull String livingId, String nextKey) throws WxErrorException
请求方式:POST(HTTPS) 请求地址:https://qyapi.weixin.qq.com/cgi-bin/school/living/get_watch_stat?access_token=ACCESS_TOKEN
livingId - nextKey - WxErrorExceptionWxCpSchoolUnwatchStat getUnwatchStat(@NonNull @NonNull String livingId, String nextKey) throws WxErrorException
请求方式:POST(HTTPS) 请求地址:https://qyapi.weixin.qq.com/cgi-bin/school/living/get_unwatch_stat?access_token=ACCESS_TOKEN
livingId - nextKey - WxErrorExceptionWxCpLivingResult deleteReplayData(@NonNull @NonNull String livingId) throws WxErrorException
livingId - WxErrorExceptionCopyright © 2022. All rights reserved.