PostFile.cs 608 B

123456789101112131415161718192021222324252627
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using LJLib.Net.SPI.Com;
  6. namespace JLHHJSvr.Com
  7. {
  8. /// <summary>
  9. /// 上传文件
  10. /// </summary>
  11. public sealed class PostFileRequest : ILJRequest<PostFileResponse>
  12. {
  13. public string GetApiName()
  14. {
  15. return "PostFile";
  16. }
  17. public string token { get; set; }
  18. public byte[] filedata { get; set; }
  19. public string fileType { get; set; }
  20. }
  21. public sealed class PostFileResponse : LJResponse
  22. {
  23. public string md5 { get; set; }
  24. }
  25. }