fix: 修复远程接口和更换套餐
This commit is contained in:
@@ -96,6 +96,8 @@ public class UOrderServiceImpl extends ServiceImpl<UOrderMapper, UOrder> impleme
|
||||
List<UClient> clients = clientService.list(Wrappers.<UClient>lambdaQuery().eq(UClient::getUserId, order.getUserId()));
|
||||
for (UClient client : clients) {
|
||||
if (StrUtil.isNotBlank(client.getSiteId())) {
|
||||
// 先取消授权再重新授权,为了截取时间
|
||||
wifiApi.cancelAuthClient(client.getSiteId(), client.getClientMac());
|
||||
wifiApi.authClient(client.getSiteId(), client.getClientMac());
|
||||
|
||||
// 带宽限速
|
||||
|
||||
Reference in New Issue
Block a user