mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 19:45:09 +08:00
update 第三方平台整合方法
This commit is contained in:
@@ -113,4 +113,6 @@ public interface ThirdPartyStationRelationMapper {
|
||||
int insertOrUpdateSelective(ThirdPartyStationRelation thirdPartyStationRelation);
|
||||
|
||||
int batchInsert(List<ThirdPartyStationRelation> list);
|
||||
|
||||
List<ThirdPartyStationRelationVO> getRelationInfoListV2(@Param("stationId") String stationId);
|
||||
}
|
||||
|
||||
@@ -112,4 +112,6 @@ public interface ThirdPartyStationRelationService {
|
||||
* @return
|
||||
*/
|
||||
List<StationInfoVO> selectStationList(String thirdPlatformType);
|
||||
|
||||
List<ThirdPartyStationRelationVO> getRelationInfoListV2(String stationId);
|
||||
}
|
||||
|
||||
@@ -128,6 +128,10 @@ public class ThirdPartyStationRelationServiceImpl implements ThirdPartyStationRe
|
||||
return thirdPartyStationRelationMapper.getRelationInfoList(stationId);
|
||||
}
|
||||
|
||||
public List<ThirdPartyStationRelationVO> getRelationInfoListV2(String stationId) {
|
||||
return thirdPartyStationRelationMapper.getRelationInfoListV2(stationId);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增站点、第三方推送平台配置对应
|
||||
*
|
||||
|
||||
@@ -14,6 +14,8 @@ public class ThirdPartyStationRelationVO {
|
||||
|
||||
private String thirdPartyType;
|
||||
|
||||
private String thirdPartyName;
|
||||
|
||||
private String startMode;
|
||||
|
||||
private String urlAddress;
|
||||
@@ -22,4 +24,24 @@ public class ThirdPartyStationRelationVO {
|
||||
private String signSecret;
|
||||
private String dataSecret;
|
||||
private String dataSecretIv;
|
||||
|
||||
|
||||
/**
|
||||
* 对方平台密钥信息
|
||||
*/
|
||||
private String theirOperatorId;
|
||||
private String theirOperatorSecret;
|
||||
private String theirSignSecret;
|
||||
private String theirDataSecret;
|
||||
private String theirDataSecretIv;
|
||||
|
||||
|
||||
/**
|
||||
* 我方平台密钥信息
|
||||
*/
|
||||
private String ourOperatorId;
|
||||
private String ourOperatorSecret;
|
||||
private String ourSignSecret;
|
||||
private String ourDataSecret;
|
||||
private String ourDataSecretIv;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user