修改数据同步,文书送达等接口
This commit is contained in:
parent
524d31df8b
commit
d70848bf9b
|
|
@ -54,6 +54,7 @@ public class DataSyncService {
|
||||||
this.objectMapper = objectMapper;
|
this.objectMapper = objectMapper;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 初始化API路径注册表。
|
* 初始化API路径注册表。
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,7 @@ import java.util.Optional;
|
||||||
@Service
|
@Service
|
||||||
@Slf4j
|
@Slf4j
|
||||||
public class DeliveryMethodService {
|
public class DeliveryMethodService {
|
||||||
|
|
||||||
private final DeliveryMethodRepository deliveryMethodRepo;
|
private final DeliveryMethodRepository deliveryMethodRepo;
|
||||||
|
|
||||||
public DeliveryMethodService(DeliveryMethodRepository deliveryMethodRepo) {
|
public DeliveryMethodService(DeliveryMethodRepository deliveryMethodRepo) {
|
||||||
|
|
|
||||||
|
|
@ -134,6 +134,7 @@ public class DeliveryRecordService {
|
||||||
return save;
|
return save;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 根据ID查询文书送达记录信息
|
* 根据ID查询文书送达记录信息
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -37,6 +37,7 @@ public class DictInterfaceService {
|
||||||
getDictItem(dictCode, tokenType, accessToken);
|
getDictItem(dictCode, tokenType, accessToken);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void getDictItem(String dictCode, String tokenType, String accessToken) {
|
public void getDictItem(String dictCode, String tokenType, String accessToken) {
|
||||||
String body = HttpUtil.createPost(dictUrl + dictCode)
|
String body = HttpUtil.createPost(dictUrl + dictCode)
|
||||||
.header("Content-Type", "application/json")
|
.header("Content-Type", "application/json")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue