feat: internal product items
This commit is contained in:
+14
-3
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user