当前位置:主页 > 移动开发 > Android代码 >

Android实现一周时间早中晚排班表

时间:2021-09-19 07:53:54 | 栏目:Android代码 | 点击:

我们要做一个可以动态添加,修改一周早中晚时间排班表,需求图如下:

onetwo

过程具体在这里不描述了,具体查看,https://github.com/yangxiansheng123/WorkingSchedule

上传数据格式:

{"friday_plan":"0,1,2","monday_plan":"3,3,3","saturday_plan":"3,3,3","sunday_plan":"3,3,3","thursday_plan":"3,3,3","token":"ED034692C5F546179220D2B83A73A37F","tuesday_plan":"3,1,3","wednesday_plan":"0,1,2"}

获取数据: 

{"code":"0","message":"获取成功!","workplan":{"doctor_id":"436b967a7ce6464d8637fc3e0d229a32","friday_plan":"3,3,3","id":"CCE13C6FCF9C4054A3286DB897E7B508","monday_plan":"3,3,3","saturday_plan":"3,3,3","sunday_plan":"3,3,3","thursday_plan":"3,3,3","tuesday_plan":"3,3,3","update_time":"2018-07-25 10:33:00","wednesday_plan":"0,3,2"}}

给你学习上的一个启发!!!!

总结

您可能感兴趣的文章:

相关文章