liujiandao
2024-04-25 c0f8f8d3a74dbdab4f6ab4926fc664d818fb50f2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
syntax = "proto3";
 
option go_package = "./supplier";
 
service SupplierService {
  rpc GetSupplierList(SupplierListRequest) returns (SupplierListResponse);
}
 
message SupplierListRequest {
  int32 Status=1;
}
 
message SupplierInfo {
  int32 SupplierId =1 ;
  string SupplierName =2;
}
 
message SupplierListResponse {
  repeated SupplierInfo List =1;
}