方法一: 方法二: 方法二参考: https://blog.csdn.net/huilan_same/article/details/52385401 转载于:https://www.cnblogs.com/kaibindirver/p/9335107.html