参考地址:https://www.cnblogs.com/qianxiaox/p/13826344.html 代码案例:https://gitee.com/xiaobailing/common-plugins-test