部分代码参考并摘自{@link http://www.thinkphp.cn thinkphp}
Merge branch 'master' of https://github.com/mrmsl/yaphp