act", {webtype: "1",username: name}, function(e) { WeixinJSBridge.log(e.err_msg); //e.err_msg:add_contact:added //e.err_msg:add_contact:cancel //e.err_msg:add_contact:ok if(e.err_msg == 'add_contact:added' || e.err_msg == 'add_contact:ok'){ } }) }; Top