参考下面几篇博客。按优先级来。https://www.cnblogs.com/ivictor/p/4834864.htmlhttps://www.cnblogs.com/xingphimo/p/10769775.html 案例: