SeventeenConvert.proto 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. syntax = "proto3";
  2. option csharp_namespace = "XYY.gRpc.Tracking";
  3. import "google/protobuf/timestamp.proto";
  4. import "google/protobuf/wrappers.proto";
  5. package greet;
  6. service SeventeenConvert {
  7. rpc Convert(SeventeenConvertReq) returns(SeventeenConvertRes);
  8. }
  9. message SeventeenConvertRes{
  10. int32 code = 1;
  11. bool success = 2;
  12. string error = 3;
  13. string message = 4;
  14. SeventeenConvertItem data = 5;
  15. }
  16. message SeventeenConvertReq {
  17. string sign = 1;
  18. string event = 2;
  19. string data = 3;
  20. }
  21. message SeventeenConvertItemLogs{
  22. google.protobuf.Timestamp TragetTime=1;
  23. string Location=2;
  24. string Event=3;
  25. }
  26. message SeventeenConvertItem{
  27. string TrackingNumber=1;
  28. string Status=2;
  29. google.protobuf.Timestamp LastAlterTime=3;
  30. string FailCNMessage=4;
  31. string FailMessage=5;
  32. google.protobuf.Timestamp FailTime=6;
  33. google.protobuf.Timestamp LastGetTime=7;
  34. string LastMessage=8;
  35. google.protobuf.Int32Value OnlineDay=9;
  36. google.protobuf.Timestamp OnlineTime =10;
  37. google.protobuf.Int32Value PreInternetAccessDay=11;
  38. google.protobuf.Timestamp PreInternetAccessTime =12;
  39. google.protobuf.Int32Value SendFialEmail =13;
  40. google.protobuf.Int32Value SignDay =14;
  41. google.protobuf.Timestamp SignTime =15;
  42. string StrStatus = 16;
  43. google.protobuf.Timestamp TargetTime=17;
  44. google.protobuf.Timestamp DeliveryTime=18;
  45. google.protobuf.Timestamp Delivered=19;
  46. repeated SeventeenConvertItemLogs List = 20;
  47. }