using ExportMap.cs; using ExportMap.Models; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; namespace ExportMap.Controllers { public class ConvertController : ApiController { [HttpPost] public ResponseMsg ToTileset([FromBody]ExportArgs args) { try { return ResponseMsg.success("成功", 1); } catch (Exception ex) { LogOut.Error(ex.StackTrace); return ResponseMsg.fail(ex.Message); } } [HttpGet] public ResponseMsg Test() { return ResponseMsg.success("成功", ""); } } }