移动系统liao
2025-02-17 557c2711a3e103ebc3d0492344eca9730d5e92b2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace CoreCms.Net.IServices
{
    /// <summary>
    /// api请求接口
    /// </summary>
    public interface IApiService
    {
        Task<T> GetAsync<T>(string endpoint);
        Task PostAsync<T>(string endpoint, T data);
        Task PutAsync<T>(string endpoint, T data);
        Task DeleteAsync(string endpoint);
    }
}