https://segmentfault.com/a/1190000017721211
https://www.php.cn/js-tutorial-375297.html
策略模式
原文:https://www.cnblogs.com/TTblog5/p/12532160.html