common.proto 631 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. syntax = "proto3";
  2. // package声明符,用来防止不同的消息类型有命名冲突
  3. package pb_v1;
  4. // 用于生成指定语言go的包名称
  5. option go_package = "property-household/pb/v1";
  6. message ProvinceRequest {
  7. }
  8. message ProvinceReply {
  9. }
  10. message SystemPermissionRouterRequest {
  11. string router = 1;
  12. string method = 2;
  13. }
  14. message SystemPermissionRouterReply {
  15. string code = 1;
  16. }
  17. message OssObjAddRequest {
  18. repeated string in_list = 1;
  19. repeated string out_list = 2;
  20. }
  21. message OssObjAddReply {
  22. }
  23. message OssObjDelNotExistRequest {
  24. string obj_url = 1;
  25. }
  26. message OssObjDelNotExistReply {
  27. }