缓存设置中可以设置缓存主域名,用来复用多域名下的缓存

This commit is contained in:
刘祥超
2023-12-13 18:41:24 +08:00
parent 4209969214
commit 9ee5c896d1
10 changed files with 1399 additions and 916 deletions

View File

@@ -121,6 +121,9 @@ service HTTPWebService {
// 查找UserAgent设置
rpc findHTTPWebUserAgent(FindHTTPWebUserAgentRequest) returns (FindHTTPWebUserAgentResponse);
// 根据WebId查找ServerId
rpc findServerIdWithHTTPWebId(FindServerIdWithHTTPWebIdRequest) returns (FindServerIdWithHTTPWebIdResponse);
}
// 创建Web配置
@@ -379,4 +382,13 @@ message FindHTTPWebUserAgentRequest {
message FindHTTPWebUserAgentResponse {
bytes userAgentJSON = 1;
}
// 根据WebId查找ServerId
message FindServerIdWithHTTPWebIdRequest {
int64 httpWebId = 1; // Web设置ID
}
message FindServerIdWithHTTPWebIdResponse {
int64 serverId = 1; // 网站ID
}