EsbReq.cs 656 B

123456789101112131415161718192021222324
  1. using Newtonsoft.Json;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Text;
  5. namespace wms.dto.request
  6. {
  7. public class EsbReq:BaseRequest
  8. {
  9. public HeadersReq headers { get; set; }
  10. public object Body { get; set; }
  11. }
  12. public class HeadersReq
  13. {
  14. [JsonProperty("content-type")]
  15. public string contentType { get; set; } = "application/json;charset=utf-8";
  16. public string TrackId { get; set; }
  17. public string requestId { get; set; }
  18. public string sourceCode { get; set; } = "163K";
  19. public string serviceCode { get; set; } = "服务接口名称编号";
  20. }
  21. }