fix: wap pay
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user