diff --git a/wfc-modules/wfc-user/src/main/java/org/wfc/user/domain/constant/TratticUnitEnum.java b/wfc-modules/wfc-user/src/main/java/org/wfc/user/domain/constant/TratticUnitEnum.java index 6c95a3a..bf9f919 100644 --- a/wfc-modules/wfc-user/src/main/java/org/wfc/user/domain/constant/TratticUnitEnum.java +++ b/wfc-modules/wfc-user/src/main/java/org/wfc/user/domain/constant/TratticUnitEnum.java @@ -14,9 +14,9 @@ public enum TratticUnitEnum { B(0, "B"), KB(1, "KB"), - MB(3, "MB"), - GB(4, "GB"), - TB(5, "TB"), + MB(2, "MB"), + GB(3, "GB"), + TB(4, "TB"), ; private final Integer code; diff --git a/wfc-modules/wfc-user/src/main/java/org/wfc/user/service/impl/UAccountServiceImpl.java b/wfc-modules/wfc-user/src/main/java/org/wfc/user/service/impl/UAccountServiceImpl.java index 683bf76..a3a5a9e 100644 --- a/wfc-modules/wfc-user/src/main/java/org/wfc/user/service/impl/UAccountServiceImpl.java +++ b/wfc-modules/wfc-user/src/main/java/org/wfc/user/service/impl/UAccountServiceImpl.java @@ -216,6 +216,7 @@ public class UAccountServiceImpl extends ServiceImpl i Date current = new Date(); if (AccountUtil.isValid(account, current)) { wifiApi.authClient(client.getSiteId(), client.getClientMac()); + wifiApi.reconnectClient(client.getSiteId(), client.getClientMac()); // 带宽限速 ClientRateLimitSettingDto clientRateLimitSetting = OmadaConvert.INSTANCE.toClientRateLimitSettingDto(account);