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.
36 lines
936 B
36 lines
936 B
|
|
using AttachmentDemo.Model; |
|
using Refit; |
|
using System; |
|
using System.Collections.Generic; |
|
using System.Linq; |
|
using System.Text; |
|
using System.Threading.Tasks; |
|
|
|
namespace AttachmentDemo.Helper |
|
{ |
|
public interface IWebAPI |
|
{ |
|
/// <summary> |
|
/// 用戶登录 |
|
/// </summary> |
|
/// <param name="dto">返回的是token</param> |
|
/// <returns></returns> |
|
[Post("/api/Login/Login")] |
|
Task<ApiResult<TnToken>> Login(UserContext user); |
|
|
|
|
|
/// <summary> |
|
/// 获取鉴权信息 |
|
/// </summary> |
|
/// <param name="userAuthorize"></param> |
|
/// <returns></returns> |
|
[Post("/api/Authorize/GetAttachmentInfo")] |
|
Task<ApiResult<List<AttachmentInfo>>> GetAttachmentInfo(List<AttachmentInfo> attachmentInfos); |
|
|
|
|
|
[Post("/api/Authorize/GetCertificateInfo")] |
|
Task<ApiResult<Certificate>> GetCertificateInfo(string zsdm); |
|
|
|
} |
|
}
|
|
|