thirdparty.proto 864 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. syntax = "proto3";
  2. // package声明符,用来防止不同的消息类型有命名冲突
  3. package v1;
  4. // 用于生成指定语言go的包名称
  5. option go_package = "smart-enterprise-management-gateway/pb/v1";
  6. message GetVcodeRequest{
  7. string phone_number = 1; // 电话号码
  8. }
  9. message GetVcodeReply{
  10. uint32 vcode = 1; // 验证码
  11. }
  12. message CheckVcodeRequest{
  13. string phone_number = 1; // 电话号码
  14. uint32 vcode = 2; // 验证码
  15. }
  16. message CheckVcodeReply{
  17. }
  18. message SendReserveRequest {
  19. string phone_number = 1;
  20. string services = 2;
  21. string times = 3;
  22. string shop = 4;
  23. string addr = 5;
  24. string service_phone = 6;
  25. string plate_no = 7;
  26. }
  27. message SendReserveReply {
  28. }
  29. message SendEmailRequest {
  30. string email = 1;
  31. string content = 2;
  32. }
  33. message SendEmailReply {
  34. }