@Mapping(value="/device", requireLogin=false) public class DeviceApiSupport extends Object implements ApiSupport
| 限定符和类型 | 类和说明 |
|---|---|
static class |
DeviceApiSupport.DenyInfo |
| 构造器和说明 |
|---|
DeviceApiSupport() |
| 限定符和类型 | 方法和说明 |
|---|---|
cn.omisheep.web.entity.ResponseResult<List<DeviceDetails>> |
activeUsers(String time) |
cn.omisheep.web.entity.ResponseResult<Integer> |
activeUsersCount(String time) |
cn.omisheep.web.entity.ResponseResult<Boolean> |
checkLogin(String userId,
String id) |
cn.omisheep.web.entity.ResponseResult<DeviceApiSupport.DenyInfo> |
denyInfo(AuthzModifier.BlacklistInfo info) |
cn.omisheep.web.entity.ResponseResult<Map<String,Object>> |
getAllDenyInfo() |
cn.omisheep.web.entity.ResponseResult<List<Object>> |
getAllUserId() |
cn.omisheep.web.entity.ResponseResult<DeviceApiSupport.DenyInfo> |
getDenyInfo(AuthzModifier.BlacklistInfo info) |
cn.omisheep.web.entity.ResponseResult<Object> |
logout(String userId,
String id) |
cn.omisheep.web.entity.ResponseResult<DeviceApiSupport.DenyInfo> |
removeDenyInfo(AuthzModifier.BlacklistInfo info) |
cn.omisheep.web.entity.ResponseResult<Map<Object,List<DeviceDetails>>> |
version() |
@Get(value="/all", desc="\u83b7\u5f97\u6240\u6709\u8bbe\u5907") public cn.omisheep.web.entity.ResponseResult<Map<Object,List<DeviceDetails>>> version()
@Get(value="/get-all-userid", desc="\u83b7\u5f97\u5f53\u524d\u6709\u6548\u7528\u6237id\u5217\u8868") public cn.omisheep.web.entity.ResponseResult<List<Object>> getAllUserId()
@Get(value="/active-users-count", desc="\u5f53\u524d\u5728\u7ebf\u7528\u6237\u6570\u91cf") public cn.omisheep.web.entity.ResponseResult<Integer> activeUsersCount(@Param(value="time") String time)
@Get(value="/active-users", desc="\u5f53\u524d\u6240\u6709\u5728\u7ebf\u7528\u6237\u7684\u8be6\u7ec6\u8bbe\u5907\u4fe1\u606f") public cn.omisheep.web.entity.ResponseResult<List<DeviceDetails>> activeUsers(@Param(value="time") String time)
@Get(value="/check-is-login", desc="\u5224\u65ad\u8be5\u7528\u6237\u662f\u5426\u5728\u7ebf") public cn.omisheep.web.entity.ResponseResult<Boolean> checkLogin(@Param(value="userId") String userId, @Param(value="id") String id)
@Get(value="/logout", desc="\u8ba9\u8be5\u7528\u6237\u4e0b\u7ebf") public cn.omisheep.web.entity.ResponseResult<Object> logout(@Param(value="userId") String userId, @Param(value="id") String id)
@Post(value="/get-deny-info", desc="\u83b7\u5f97\u5c01\u7981\u4fe1\u606f") public cn.omisheep.web.entity.ResponseResult<DeviceApiSupport.DenyInfo> getDenyInfo(@JSON AuthzModifier.BlacklistInfo info)
@Get(value="/get-all-deny-info", desc="\u83b7\u5f97\u5c01\u7981\u4fe1\u606f") public cn.omisheep.web.entity.ResponseResult<Map<String,Object>> getAllDenyInfo()
@Post(value="/deny", desc="\u5c01\u7981") public cn.omisheep.web.entity.ResponseResult<DeviceApiSupport.DenyInfo> denyInfo(@JSON AuthzModifier.BlacklistInfo info)
@Post(value="/deny-remove", desc="\u79fb\u9664\u5c01\u7981") public cn.omisheep.web.entity.ResponseResult<DeviceApiSupport.DenyInfo> removeDenyInfo(@JSON AuthzModifier.BlacklistInfo info)
Copyright © 2022. All rights reserved.