refactor: centralize protobuf and remove go-zero

This commit is contained in:
2026-08-09 15:10:19 +08:00
parent 5cc5fd92ed
commit 4bbed3156c
357 changed files with 14208 additions and 19903 deletions

View File

@@ -1,20 +1,20 @@
syntax = "proto3";
package initial;
option go_package = ".;initial";
option go_package = "bsm/full/module/base/initial/pb;initial";
// initial-检测是否有新版或新的配置
service Check{
// HELLO
rpc Hello(Crc) returns (StatusReply){}
// 获取应用的相关配置信息
rpc Config(ConfigRequest) returns (ConfigReply) {}
rpc Config(ConfigRequest) returns (ConfigReply) {}
// 检查更新
rpc Updates(CheckForUpdatesRequest) returns (CheckForUpdatesReply) {}
rpc Updates(CheckForUpdatesRequest) returns (CheckForUpdatesReply) {}
}
@@ -49,7 +49,7 @@ message ConfigItem {
int64 version=4; //版本号
}
message CheckForUpdatesRequest {
string app = 1; // 应用程序名称 <必填>
string os = 2; // 操作系统 <必填>