Files
lone-services/rpc/order/order.proto
T
gjs be8f89f449
CI / changes (push) Successful in 5s
CI / docker-bff (push) Failing after 7s
CI / docker-product (push) Failing after 5s
CI / docker-admin (push) Failing after 4s
CI / docker-user (push) Failing after 6s
change layout
2026-08-20 15:41:44 +08:00

28 lines
422 B
Protocol Buffer

syntax = "proto3";
import "google/api/annotations.proto";
package order;
option go_package = "lone-services/rpc/order";
message ItemsRequest {
int32 page = 1;
int32 size = 2;
}
message Response {
int32 code = 1;
string msg = 2;
string data = 3;
}
service order {
rpc Items(ItemsRequest) returns(Response){
option (google.api.http) = {
get: "/admin/v3/order/items"
body: "*"
};
};
}