对前端websocket api 进行封装
a simple wraper of promise
a function for create Form by document
count tag && count api