Skip to content

Commit

Permalink
add amount to jsapi
Browse files Browse the repository at this point in the history
  • Loading branch information
sunjiayu committed Jun 18, 2024
1 parent 3e5c47c commit dd6cb48
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 44 deletions.
69 changes: 39 additions & 30 deletions wx_payment/wx_payment.pb.go

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

12 changes: 6 additions & 6 deletions wx_payment/wx_payment.pb.gw.go

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

1 change: 1 addition & 0 deletions wx_payment/wx_payment.proto
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ service NotifyService {

message JsApiRequest {
string openid = 1;
uint64 amount = 2; // 订单金额,单位是分
};

message JsApiResponse {
Expand Down
14 changes: 6 additions & 8 deletions wx_payment/wx_payment_grpc.pb.go

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

0 comments on commit dd6cb48

Please sign in to comment.