public object SaveBook([FromForm] Book book) { //实例化RestRequest var request = new RestRequest("/demo/v1/book/savebook"); //增加参数 request.AddJsonBody(book); //执行请求 var responseData = RestHelper.ExecutePost <Response>("Lobster.Service.Demo", request); return(responseData); }