检测是否绑定过wifi、绑定wifi、增加用户使用记录、获取用户使用记录、添加设备使用人、设备使用人列表
This commit is contained in:
@@ -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) = {
|
||||
|
||||
Reference in New Issue
Block a user