2023-12-12 16:53:12 +08:00

21 lines
539 B
C#

using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UtilLib
{
public class API
{
private static readonly string API_URL = "http://test.wx.wm-app.xyz/proofread.json";
public static ProofreadResult GetProofreadResult()
{
var content = Http.Get(API_URL);
var result = JsonConvert.DeserializeObject<Response<ProofreadResult>>(content);
return result.Data;
}
}
}