我们要做一个可以动态添加,修改一周早中晚时间排班表,需求图如下:
过程具体在这里不描述了,具体查看,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"}}
给你学习上的一个启发!!!!
总结
以上所述是小编给大家介绍的Android实现一周时间早中晚排班表,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对ZaLou.Cn网站的支持!