Android如何实现一周时间早中晚排班表
这篇文章主要介绍Android如何实现一周时间早中晚排班表,文中介绍的非常详细,具有一定的参考价值,感兴趣的小伙伴们一定要看完!
创新互联2013年开创至今,先为蓝山等服务建站,蓝山等地企业,进行企业商务咨询服务。为蓝山企业网站制作PC+手机+微官网三网同步一站式服务解决您的所有建站问题。
我们要做一个可以动态添加,修改一周早中晚时间排班表,需求图如下:
过程具体在这里不描述了,具体查看,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如何实现一周时间早中晚排班表”这篇文章的所有内容,感谢各位的阅读!希望分享的内容对大家有帮助,更多相关知识,欢迎关注创新互联行业资讯频道!
网页标题:Android如何实现一周时间早中晚排班表
文章转载:http://pwwzsj.com/article/pdihih.html