Skip to content

Commit

Permalink
feature: list friend bill
Browse files Browse the repository at this point in the history
  • Loading branch information
Danielllllllllllllll committed Aug 4, 2024
1 parent 1e90b85 commit f57dec1
Show file tree
Hide file tree
Showing 6 changed files with 159 additions and 116 deletions.
8 changes: 4 additions & 4 deletions protobuf/friend_bill.proto
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ service FriendBillService {
};
}

rpc GetFriendBill (GetFriendBillRequest) returns (GetFriendBillResponse) {
rpc ListFriendBill (ListFriendBillRequest) returns (ListFriendBillResponse) {
option (google.api.http) = {
get: "/v1/friend_bill"
};
Expand Down Expand Up @@ -54,13 +54,13 @@ message ModifyFriendBillRequest {
string description = 4;
}

message GetFriendBillRequest {
message ListFriendBillRequest {
string relation_id = 1;
}

message GetFriendBillResponse {
message ListFriendBillResponse {
repeated FriendBill friend_bills = 1;
double total = 2;
//double total = 2;
}

message FriendBill {
Expand Down
149 changes: 70 additions & 79 deletions protobuf/gen/go/friend_bill.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f57dec1

Please sign in to comment.