add weixin avatart
create functions to support weixin