网上看了一个写的比较好的,这里引用一下。 转载别人的链接地址 https://community.jiguang.cn/t/topic/31534 https://community.jiguang.cn/t/topic/5145/3