isv update

This commit is contained in:
zhangchenbiao
2023-06-14 16:04:30 +08:00
parent 40c99a8337
commit 4596b69e68
2 changed files with 14 additions and 14 deletions

View File

@@ -43,7 +43,7 @@ public class ISVHttpRequest {
private HttpRestTemplateService httpRestTemplateService;
public UserIdInfoDTO getUserIdByCode(String paramStr){
String url = isvDomain + "/isv/user/getUserIdByCode?" + paramStr;
String url = isvDomain + "/user/getUserIdByCode?" + paramStr;
ResponseEntity<ResultDTO> responseEntity = null;
try {
responseEntity = RestTemplateUtil.loadGet(url, ResultDTO.class);
@@ -58,7 +58,7 @@ public class ISVHttpRequest {
}
public EnterpriseUserDTO getUserDetailByUserId(String userId){
String url = isvDomain + "/isv/user/getUserDetail";
String url = isvDomain + "/user/getUserDetail";
HashMap requestMap = new HashMap();
requestMap.put("userId", userId);
ResultDTO responseEntity = null;
@@ -75,7 +75,7 @@ public class ISVHttpRequest {
}
public List<String> getAdminUserList(){
String url = isvDomain + "/isv/corp/getAdminUserList";
String url = isvDomain + "/corp/getAdminUserList";
HashMap requestMap = new HashMap();
ResultDTO responseEntity = null;
try {
@@ -91,7 +91,7 @@ public class ISVHttpRequest {
}
public AuthInfoDTO getAuthInfo(){
String url = isvDomain + "/isv/corp/getAuthInfo";
String url = isvDomain + "/corp/getAuthInfo";
HashMap requestMap = new HashMap();
ResultDTO responseEntity = null;
try {
@@ -107,7 +107,7 @@ public class ISVHttpRequest {
}
public List<SysDepartmentDTO> getDepartments(String parentId){
String url = isvDomain + "/isv/corp/getDepartments";
String url = isvDomain + "/corp/getDepartments";
HashMap requestMap = new HashMap();
requestMap.put("parentId", parentId);
ResultDTO responseEntity = null;
@@ -124,7 +124,7 @@ public class ISVHttpRequest {
}
public AuthScopeDTO getAuthScope(){
String url = isvDomain + "/isv/corp/getAuthScope";
String url = isvDomain + "/corp/getAuthScope";
HashMap requestMap = new HashMap();
ResultDTO responseEntity = null;
try {
@@ -140,7 +140,7 @@ public class ISVHttpRequest {
}
public List<EnterpriseUserDTO> getDepartmentUsers(String deptId){
String url = isvDomain + "/isv/corp/getDepartmentUsers";
String url = isvDomain + "/corp/getDepartmentUsers";
HashMap requestMap = new HashMap();
requestMap.put("deptId", deptId);
ResultDTO responseEntity = null;
@@ -157,7 +157,7 @@ public class ISVHttpRequest {
}
public List<EnterpriseUserDTO> getUserDetailByUserIds(List<String> userIdList) {
String url = isvDomain + "/isv/corp/getDepartmentUsers";
String url = isvDomain + "/corp/getDepartmentUsers";
HashMap requestMap = new HashMap();
requestMap.put("userIds", userIdList);
ResultDTO responseEntity = null;
@@ -174,7 +174,7 @@ public class ISVHttpRequest {
}
public List<SysDepartmentDTO> getSubDepartments(String parentId, Boolean fetchChild) {
String url = isvDomain + "/isv/corp/getSubDepartments";
String url = isvDomain + "/corp/getSubDepartments";
HashMap requestMap = new HashMap();
requestMap.put("parentId", parentId);
requestMap.put("fetchChild", fetchChild);
@@ -199,7 +199,7 @@ public class ISVHttpRequest {
* @return
*/
public List<UserFreeBusyInfoDTO> getFreeBusyList(String userId, long startTime, long endTime) throws ApiException{
String url = isvDomain + "/isv/user/getFreeBusyList";
String url = isvDomain + "/user/getFreeBusyList";
HashMap requestMap = new HashMap();
requestMap.put("userId", userId);
requestMap.put("startTime", startTime);
@@ -225,7 +225,7 @@ public class ISVHttpRequest {
* @throws ApiException
*/
public UserCalendarsEventDTO createUserCalendarEvent(CreateCalendarEventDTO param) throws ApiException{
String url = isvDomain + "/isv/user/createUserCalendarEvent";
String url = isvDomain + "/user/createUserCalendarEvent";
ResultDTO responseEntity = null;
try {
responseEntity = httpRestTemplateService.postForObject(url, param, ResultDTO.class);
@@ -247,7 +247,7 @@ public class ISVHttpRequest {
* @throws ApiException
*/
public UserCalendarsEventDTO updateUserCalendarEvent(UpdateCalendarEventDTO param) throws ApiException{
String url = isvDomain + "/isv/user/updateUserCalendarEvent";
String url = isvDomain + "/user/updateUserCalendarEvent";
ResultDTO responseEntity = null;
try {
responseEntity = httpRestTemplateService.postForObject(url, param, ResultDTO.class);
@@ -269,7 +269,7 @@ public class ISVHttpRequest {
* @throws ApiException
*/
public UserCalendarsEventDTO deleteUserCalendarEvent(DeleteCalendarEventDTO param) throws ApiException {
String url = isvDomain + "/isv/user/deleteUserCalendarEvent";
String url = isvDomain + "/user/deleteUserCalendarEvent";
ResultDTO responseEntity = null;
try {
responseEntity = httpRestTemplateService.postForObject(url, param, ResultDTO.class);