fix: 云接口
This commit is contained in:
@@ -96,7 +96,7 @@ public class WxPayController extends AbstractWxPayApiController {
|
||||
.domain(wxPayBean.getDomain())
|
||||
.build();
|
||||
}
|
||||
notifyUrl = apiConfig.getDomain().concat("/payment/aliPay/callback");
|
||||
notifyUrl = apiConfig.getDomain().concat("/payment/wxPay/callback");
|
||||
refundNotifyUrl = apiConfig.getDomain().concat("/wxPay/refundNotify");
|
||||
return apiConfig;
|
||||
}
|
||||
|
||||
@@ -44,19 +44,21 @@ public class OmadaWifiApi extends AbstractOmadaWifiApi {
|
||||
|
||||
@Override
|
||||
public boolean authClient(String siteId, String clientMac) {
|
||||
omadaAuthorizedClientApi.authClient(siteId, clientMac);
|
||||
ResponseEntity<org.wfc.omada.api.hotspot.model.OperationResponseWithoutResult> response = omadaAuthorizedClientApi.authClient(siteId, clientMac);
|
||||
log.info(Objects.requireNonNull(response.getBody()).getMsg());
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean cancelAuthClient(String siteId, String clientMac) {
|
||||
omadaAuthorizedClientApi.cancelAuthClient(siteId, clientMac);
|
||||
ResponseEntity<org.wfc.omada.api.hotspot.model.OperationResponseWithoutResult> response = omadaAuthorizedClientApi.cancelAuthClient(siteId, clientMac);
|
||||
log.info(Objects.requireNonNull(response.getBody()).getMsg());
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean reconnectClient(String siteId, String clientMac) {
|
||||
omadaClientApi.reconnectClient(siteId, clientMac);
|
||||
ResponseEntity<OperationResponseWithoutResult> response = omadaClientApi.reconnectClient(siteId, clientMac);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user