参考文章:http://blog.csdn.net/gywtzh0889/article/details/68059690 http://www.ha97.com/910.html http://blog.csdn.net/ngl272/article/details/70217094 https://segmentfault.com/a/1190000002955509 http://www.thinkphp.cn/code/996.html https://segmentfault.com/a/1190000008560453 http://www.th7.cn/Program/php/201607/916638.shtml http://www.jb51.net/LINUXjishu/19905.html