refactory wxappid