Skip to content

Commit

Permalink
invoke aliyun oss token method
Browse files Browse the repository at this point in the history
  • Loading branch information
sunjiayu committed May 28, 2024
1 parent 1d4c4a7 commit 7c5804c
Show file tree
Hide file tree
Showing 4 changed files with 180 additions and 24 deletions.
78 changes: 58 additions & 20 deletions auth/auth.pb.go

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

83 changes: 80 additions & 3 deletions auth/auth.pb.gw.go

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

4 changes: 4 additions & 0 deletions auth/auth.proto
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,13 @@ message AuthRequest {
message AuthResponse {
string appid = 1;
string secret = 2;
string oss_endpoint = 3;
string oss_access_key_id = 4;
string oss_access_key_secret = 5;
};

service AuthService {
rpc get_wx_miniprogram_token (AuthRequest) returns (AuthResponse) {}
rpc get_oss_token (AuthRequest) returns (AuthResponse) {}
};

39 changes: 38 additions & 1 deletion auth/auth_grpc.pb.go

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

0 comments on commit 7c5804c

Please sign in to comment.