封禁用户问题修改

This commit is contained in:
heavyrain.lee
2019-06-23 18:30:58 +08:00
parent c68beeaa51
commit 15703d66fb
5 changed files with 43 additions and 3 deletions
@@ -45,7 +45,7 @@ public class BlockUserAction extends AdminAction {
result = RestResult.resultOf(errorCode);
response.setContent(new Gson().toJson(result));
if (inputUserBlock.getStatus() != 0) {
if (inputUserBlock.getStatus() == 2) {
RPCCenter.getInstance().sendRequest(null, null, RPCCenter.KICKOFF_USER_REQUEST, inputUserBlock.getUserId().getBytes(), inputUserBlock.getUserId(), TargetEntry.Type.TARGET_TYPE_USER, null, true);
}