mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-07-02 21:18:05 +08:00
通知第三方平台重构
This commit is contained in:
@@ -110,15 +110,6 @@ public class HaiNanPlatformServiceImpl implements ThirdPartyPlatformService {
|
|||||||
@Autowired
|
@Autowired
|
||||||
private ZDLService zdlService;
|
private ZDLService zdlService;
|
||||||
|
|
||||||
/**
|
|
||||||
* Invoked by the containing {@code BeanFactory} after it has set all bean properties
|
|
||||||
* and satisfied {@link BeanFactoryAware}, {@code ApplicationContextAware} etc.
|
|
||||||
* <p>This method allows the bean instance to perform validation of its overall
|
|
||||||
* configuration and final initialization when all bean properties have been set.
|
|
||||||
*
|
|
||||||
* @throws Exception in the event of misconfiguration (such as failure to set an
|
|
||||||
* essential property) or if initialization fails for any other reason
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void afterPropertiesSet() throws Exception {
|
public void afterPropertiesSet() throws Exception {
|
||||||
ThirdPartyPlatformFactory.register(thirdPlatformType, this);
|
ThirdPartyPlatformFactory.register(thirdPlatformType, this);
|
||||||
|
|||||||
@@ -42,7 +42,6 @@ import com.jsowell.thirdparty.platform.util.HttpRequestUtil;
|
|||||||
import org.apache.commons.collections4.CollectionUtils;
|
import org.apache.commons.collections4.CollectionUtils;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
import org.springframework.beans.factory.BeanFactoryAware;
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
@@ -91,16 +90,6 @@ public class QingHaiPlatformServiceImpl implements ThirdPartyPlatformService {
|
|||||||
// 平台类型
|
// 平台类型
|
||||||
private final String thirdPlatformType = ThirdPlatformTypeEnum.QING_HAI_PLATFORM.getTypeCode();
|
private final String thirdPlatformType = ThirdPlatformTypeEnum.QING_HAI_PLATFORM.getTypeCode();
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Invoked by the containing {@code BeanFactory} after it has set all bean properties
|
|
||||||
* and satisfied {@link BeanFactoryAware}, {@code ApplicationContextAware} etc.
|
|
||||||
* <p>This method allows the bean instance to perform validation of its overall
|
|
||||||
* configuration and final initialization when all bean properties have been set.
|
|
||||||
*
|
|
||||||
* @throws Exception in the event of misconfiguration (such as failure to set an
|
|
||||||
* essential property) or if initialization fails for any other reason
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void afterPropertiesSet() throws Exception {
|
public void afterPropertiesSet() throws Exception {
|
||||||
ThirdPartyPlatformFactory.register(thirdPlatformType, this);
|
ThirdPartyPlatformFactory.register(thirdPlatformType, this);
|
||||||
|
|||||||
@@ -29,15 +29,6 @@ public class ZhongDianLianPlatformServiceImpl implements ThirdPartyPlatformServi
|
|||||||
@Autowired
|
@Autowired
|
||||||
private ThirdpartySecretInfoService thirdpartySecretInfoService;
|
private ThirdpartySecretInfoService thirdpartySecretInfoService;
|
||||||
|
|
||||||
/**
|
|
||||||
* Invoked by the containing {@code BeanFactory} after it has set all bean properties
|
|
||||||
* and satisfied {@link BeanFactoryAware}, {@code ApplicationContextAware} etc.
|
|
||||||
* <p>This method allows the bean instance to perform validation of its overall
|
|
||||||
* configuration and final initialization when all bean properties have been set.
|
|
||||||
*
|
|
||||||
* @throws Exception in the event of misconfiguration (such as failure to set an
|
|
||||||
* essential property) or if initialization fails for any other reason
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void afterPropertiesSet() throws Exception {
|
public void afterPropertiesSet() throws Exception {
|
||||||
ThirdPartyPlatformFactory.register(thirdPlatformType, this);
|
ThirdPartyPlatformFactory.register(thirdPlatformType, this);
|
||||||
|
|||||||
Reference in New Issue
Block a user