feat: ota

This commit is contained in:
zzw
2026-09-22 16:47:38 +08:00
parent fdf5825d83
commit 08b67dba70
26 changed files with 1033 additions and 178 deletions
+11
View File
@@ -140,6 +140,11 @@ message BindExpiryRequest {
string reason = 3;
}
message ApiVersionRequest {
int32 type = 1;
string version = 2;
}
service Equipment {
rpc Items(ItemsRequest) returns(Response){
option (google.api.http) = {
@@ -274,5 +279,11 @@ service Equipment {
body: "*"
};
};
rpc ApiVersion(ApiVersionRequest) returns(Response){
option (google.api.http) = {
get: "/api/v3/version"
body: "*"
};
};
}