//项目激活 public string projectInvoke(string projectId) { string apiResponse = string.Empty; var token = Session["token"] == null ? "XXXXXXX" : Session["token"].ToString(); try { apiResponse = projectRequest.Active(token, projectId); } catch (Exception ex) { throw; } return(apiResponse); }