feat: oss sign
CI / changes (push) Successful in 1m30s
CI / ad (push) Successful in 1s
CI / admin (push) Successful in 0s
CI / bff (push) Successful in 28s
CI / chore (push) Successful in 28s
CI / equipment (push) Successful in 1s
CI / express (push) Successful in 0s
CI / factory (push) Successful in 0s
CI / message (push) Successful in 0s
CI / order (push) Successful in 0s
CI / payment (push) Successful in 0s
CI / percutaneous (push) Successful in 0s
CI / product (push) Successful in 0s
CI / record (push) Successful in 1s
CI / sale (push) Successful in 0s
CI / support (push) Successful in 0s
CI / task (push) Successful in 0s
CI / user (push) Successful in 28s
CI / water (push) Successful in 0s
CI / wecom (push) Successful in 0s

This commit is contained in:
zzw
2026-10-20 13:25:40 +08:00
parent 08fd224f09
commit 5a3d66df25
7 changed files with 356 additions and 101 deletions
+9
View File
@@ -19,6 +19,13 @@ service Chore {
};
}
rpc OssSignature(OssSignatureReq) returns (Response) {
option (google.api.http) = {
get: "/api/v3/chore/oss/signature"
body: "*"
};
}
rpc Test(TestReq) returns (Response) {
option (google.api.http) = {
post: "/api/v3/chore/test"
@@ -134,6 +141,8 @@ message PolicyReq {
string key = 1;
}
message OssSignatureReq {}
message UploadReq {
string filename = 1;
bytes content = 2;