add check args method
Merge pull request #26 from fanzeyi/weixin

add check args method