You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
265 B
13 lines
265 B
using System.Threading.Tasks;
|
|
|
|
namespace AuroraDesk.Core.Interfaces;
|
|
|
|
/// <summary>
|
|
/// API 服务接口
|
|
/// </summary>
|
|
public interface IApiService
|
|
{
|
|
Task<string> GetApiDataAsync(string endpoint);
|
|
Task<bool> PostDataAsync(string endpoint, object data);
|
|
}
|
|
|
|
|