检测是否绑定过wifi、绑定wifi、增加用户使用记录、获取用户使用记录、添加设备使用人、设备使用人列表

This commit is contained in:
2026-10-06 17:38:13 +08:00
parent cb53a94c75
commit 1825fff38b
22 changed files with 866 additions and 34 deletions
+25
View File
@@ -144,6 +144,16 @@ message BindExpiryRequest {
string reason = 3;
}
message SetExpiryRequest {
int64 id =1;
string expiry =2;
string reason = 3;
}
message UserBindRequest {
int64 id =1;
}
message ApiVersionRequest {
int32 type = 1;
string version = 2;
@@ -201,6 +211,21 @@ service Equipment {
};
};
rpc SetExpiry(SetExpiryRequest) returns(Response){
option (google.api.http) = {
post: "/admin/v3/set/expiry"
body: "*"
};
};
rpc UserBind(UserBindRequest) returns(Response){
option (google.api.http) = {
get: "/admin/v3/user/bind"
body: "*"
};
};
/*******************API*************************/
rpc ApiMaskAdd(ApiMaskAddRequest) returns(Response){
option (google.api.http) = {