using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CoreCms.Net.IServices { /// /// api请求接口 /// public interface IApiService { Task GetAsync(string endpoint); Task PostAsync(string endpoint, T data); Task PutAsync(string endpoint, T data); Task DeleteAsync(string endpoint); } }