[HttpPost] public async Task<string> Post() { dynamic model = await Request.Content.ReadAsAsync<JObject>(); BodyParam param = new BodyParam(); param.Weight = model.weight; param.Datetime = model.day; return "success"; }
Powered by: 博客园 Copyright © 2024 billpeng Powered by .NET 8.0 on Kubernetes