2
0

fix: wap pay

This commit is contained in:
caiyuchao
2025-02-07 10:27:48 +08:00
parent 065ca953e6
commit 065999ddd2
3 changed files with 7 additions and 8 deletions

View File

@@ -45,7 +45,6 @@ public class OmadaWifiApi extends AbstractOmadaWifiApi {
@Override
public boolean authClient(String siteId, String clientMac) {
ResponseEntity<org.wfc.omada.api.hotspot.model.OperationResponseWithoutResult> response = omadaAuthorizedClientApi.authClient(siteId, clientMac);
log.info(Objects.requireNonNull(response.getBody()).getMsg());
if (ObjectUtil.isNotNull(response.getBody())) {
if (response.getBody().getErrorCode() == 0) {
log.info("authClient success,siteId={},clientMac={},errorCode={}, msg={}", siteId, clientMac, response.getBody().getErrorCode(), response.getBody().getMsg());