http://jingyan.baidu.com/article/5bbb5a1b14af7d13eaa17910.html?st=2&os=0&bd_page_type=1&net_type=你可以参考下这个解决方案