feat: internal product items

This commit is contained in:
zzw
2026-10-09 13:21:59 +08:00
parent 5b1b6d7daa
commit 174b585c8a
27 changed files with 735 additions and 315 deletions
+14 -3
View File
@@ -11,15 +11,14 @@ service Chore {
body: "*"
};
}
// 对外:服务端直传 OSS
rpc Upload(UploadReq) returns (Response) {
option (google.api.http) = {
post: "/api/v3/chore/oss/upload"
body: "*"
};
}
// 对内:服务间直传 OSS(无 HTTP 暴露)
rpc InternalUpload(InternalUploadReq) returns (InternalUploadData);
rpc Test(TestReq) returns (Response) {
option (google.api.http) = {
post: "/api/v3/chore/test"
@@ -88,6 +87,14 @@ service Chore {
get: "/admin/v3/chore/system/items"
};
}
rpc Document(DocumentReq) returns (Response) {
option (google.api.http) = {
get: "/api/v3/document"
body: "*"
};
}
rpc InternalUpload(InternalUploadReq) returns (InternalUploadData);
rpc RegionsByIds(RegionsByIdsReq) returns (RegionsByIdsData);
rpc InternalActionApplyLogCreate(InternalActionApplyLogCreateReq) returns (InternalActionApplyLogCreateData);
rpc SendPassword(SendPasswordReq) returns (SendPasswordResp);
@@ -125,6 +132,10 @@ message SystemEditReq {
string content = 2;
}
message DocumentReq {
int32 type = 1;
}
message PolicyReq {
string key = 1;
}