Student.Core.API/Code/WebApi/IWebApiHelper.cs
(完整代码) 924Busing Student.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using WebApiClient;
using WebApiClient.Attributes;
using yrjw.ORM.Chimp.Result;
namespace Student.Core.API.Code.WebApi
{
[JsonReturn]
public interface IWebApiHelper: IHttpApi
{
[HttpGet("api/StudentInfo")]
ITask<StudentInfoListResultModel> GetStudentInfoListAsync();
}
/// <summary>
/// 接口返回模型
/// </summary>
public class StudentInfoListResultModel: IResultModel
{
public bool Success { get; set; }
public string Msg { get; set; }
public int Code { get; set; }
public string FailedId { get; set; }
public List<StudentInfoDTO> Data { get; set; }
public int Status => throw new NotImplementedException();
public List<Errors> Errors => throw new NotImplementedException();
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。