add weixin device handle
fix device bug
Merge pull request #29 from liuxiaodong/master

add weixin device handle