Showing
1 changed file
with
30 additions
and
0 deletions
@@ -401,4 +401,34 @@ Response : | @@ -401,4 +401,34 @@ Response : | ||
401 | "returnCode": 200, | 401 | "returnCode": 200, |
402 | "returnMsg": "success" | 402 | "returnMsg": "success" |
403 | } | 403 | } |
404 | +``` | ||
405 | + | ||
406 | +# 8 .旷课回调接口 | ||
407 | +>Request body的参数中,`userId`是旷课的用户的id, `type`为userId的用户类型, `TEACHER` 或者`STUDENT` | ||
408 | +>发生旷课回调该接口 | ||
409 | + | ||
410 | +接口地址:/teaching/callback/absenteeism | ||
411 | + | ||
412 | +请求方式:POST | ||
413 | + | ||
414 | +Request body: | ||
415 | + | ||
416 | +``` | ||
417 | +{ | ||
418 | + "workrderd": 1234, | ||
419 | + "userId": 12938, | ||
420 | + "type":"TEACHER" | ||
421 | +} | ||
422 | +``` | ||
423 | + | ||
424 | +Response : | ||
425 | + | ||
426 | +``` | ||
427 | +{ | ||
428 | + "data": { | ||
429 | + "recover": true | ||
430 | + }, | ||
431 | + "returnCode": 200, | ||
432 | + "returnMsg": "success" | ||
433 | +} | ||
404 | ``` | 434 | ``` |
-
Please register or login to post a comment