Leave Management Wechat-MiniProgram based on Flask
Student ask for leave
Staff manage requests
Faculty receive request
URL | explanation |
---|---|
/login | post ('userId', 'userPwd'); return (flag etc) |
/student/ask_leave | post ('student_id','start_time','end_time','reason','flag','teacher1_id','teacher2_id','type','ensure'); return (True \ False) |
/student/search_leave | post ('student_id'), return ('leave_num','student_id','start_time','end_time','reason','flag','teacher1_id','teacher2_id','type','ensure') |
/student/search_leave_detail | post('student_id'), return ('student_id','class','name','room') |
/teacher/search_leave | post('teacher_id'), return('leave_num','student_id','start_time','end_time','reason','flag','teacher1_id','teacher2_id','type','ensure') |
/teacher/update_leave | post('leave_num','flag'); return (True / False) |
/teacher2/search_leave | post('teacher_id'), return ('leave_num','student_id','start_time','end_time','reason','flag','teacher1_id','teacher2_id','type','ensure') |
/teacher/search_id | post('school'), return ('teacher_id','name','role') |
/pwd | post('userId','userPwd') return (True / False) |
/name | post('name'), return ('leave_num','student_id','start_time','end_time','reason','flag','teacher1_id','teacher2_id','type','ensure','class','school','room') |
Screenshots