function post(){
/**
* post 请求方法 get同理
*/
CordovaHttpPlugin.post("https://api.weixin.qq.com/cgi-bin/menu/create?access_token=ACCESS_TOKEN",{传参},{Authorization: "OAuth2: token" },success,failure);
}
function success(result){
// 回调
console.log(6666666+JSON.stringify(result));
}
function failure(error){
console.log(error)
}