isv update
This commit is contained in:
@@ -43,7 +43,7 @@ public class ISVHttpRequest {
|
|||||||
private HttpRestTemplateService httpRestTemplateService;
|
private HttpRestTemplateService httpRestTemplateService;
|
||||||
|
|
||||||
public UserIdInfoDTO getUserIdByCode(String paramStr){
|
public UserIdInfoDTO getUserIdByCode(String paramStr){
|
||||||
String url = isvDomain + "/isv/user/getUserIdByCode?" + paramStr;
|
String url = isvDomain + "/user/getUserIdByCode?" + paramStr;
|
||||||
ResponseEntity<ResultDTO> responseEntity = null;
|
ResponseEntity<ResultDTO> responseEntity = null;
|
||||||
try {
|
try {
|
||||||
responseEntity = RestTemplateUtil.loadGet(url, ResultDTO.class);
|
responseEntity = RestTemplateUtil.loadGet(url, ResultDTO.class);
|
||||||
@@ -58,7 +58,7 @@ public class ISVHttpRequest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public EnterpriseUserDTO getUserDetailByUserId(String userId){
|
public EnterpriseUserDTO getUserDetailByUserId(String userId){
|
||||||
String url = isvDomain + "/isv/user/getUserDetail";
|
String url = isvDomain + "/user/getUserDetail";
|
||||||
HashMap requestMap = new HashMap();
|
HashMap requestMap = new HashMap();
|
||||||
requestMap.put("userId", userId);
|
requestMap.put("userId", userId);
|
||||||
ResultDTO responseEntity = null;
|
ResultDTO responseEntity = null;
|
||||||
@@ -75,7 +75,7 @@ public class ISVHttpRequest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public List<String> getAdminUserList(){
|
public List<String> getAdminUserList(){
|
||||||
String url = isvDomain + "/isv/corp/getAdminUserList";
|
String url = isvDomain + "/corp/getAdminUserList";
|
||||||
HashMap requestMap = new HashMap();
|
HashMap requestMap = new HashMap();
|
||||||
ResultDTO responseEntity = null;
|
ResultDTO responseEntity = null;
|
||||||
try {
|
try {
|
||||||
@@ -91,7 +91,7 @@ public class ISVHttpRequest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public AuthInfoDTO getAuthInfo(){
|
public AuthInfoDTO getAuthInfo(){
|
||||||
String url = isvDomain + "/isv/corp/getAuthInfo";
|
String url = isvDomain + "/corp/getAuthInfo";
|
||||||
HashMap requestMap = new HashMap();
|
HashMap requestMap = new HashMap();
|
||||||
ResultDTO responseEntity = null;
|
ResultDTO responseEntity = null;
|
||||||
try {
|
try {
|
||||||
@@ -107,7 +107,7 @@ public class ISVHttpRequest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public List<SysDepartmentDTO> getDepartments(String parentId){
|
public List<SysDepartmentDTO> getDepartments(String parentId){
|
||||||
String url = isvDomain + "/isv/corp/getDepartments";
|
String url = isvDomain + "/corp/getDepartments";
|
||||||
HashMap requestMap = new HashMap();
|
HashMap requestMap = new HashMap();
|
||||||
requestMap.put("parentId", parentId);
|
requestMap.put("parentId", parentId);
|
||||||
ResultDTO responseEntity = null;
|
ResultDTO responseEntity = null;
|
||||||
@@ -124,7 +124,7 @@ public class ISVHttpRequest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public AuthScopeDTO getAuthScope(){
|
public AuthScopeDTO getAuthScope(){
|
||||||
String url = isvDomain + "/isv/corp/getAuthScope";
|
String url = isvDomain + "/corp/getAuthScope";
|
||||||
HashMap requestMap = new HashMap();
|
HashMap requestMap = new HashMap();
|
||||||
ResultDTO responseEntity = null;
|
ResultDTO responseEntity = null;
|
||||||
try {
|
try {
|
||||||
@@ -140,7 +140,7 @@ public class ISVHttpRequest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public List<EnterpriseUserDTO> getDepartmentUsers(String deptId){
|
public List<EnterpriseUserDTO> getDepartmentUsers(String deptId){
|
||||||
String url = isvDomain + "/isv/corp/getDepartmentUsers";
|
String url = isvDomain + "/corp/getDepartmentUsers";
|
||||||
HashMap requestMap = new HashMap();
|
HashMap requestMap = new HashMap();
|
||||||
requestMap.put("deptId", deptId);
|
requestMap.put("deptId", deptId);
|
||||||
ResultDTO responseEntity = null;
|
ResultDTO responseEntity = null;
|
||||||
@@ -157,7 +157,7 @@ public class ISVHttpRequest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public List<EnterpriseUserDTO> getUserDetailByUserIds(List<String> userIdList) {
|
public List<EnterpriseUserDTO> getUserDetailByUserIds(List<String> userIdList) {
|
||||||
String url = isvDomain + "/isv/corp/getDepartmentUsers";
|
String url = isvDomain + "/corp/getDepartmentUsers";
|
||||||
HashMap requestMap = new HashMap();
|
HashMap requestMap = new HashMap();
|
||||||
requestMap.put("userIds", userIdList);
|
requestMap.put("userIds", userIdList);
|
||||||
ResultDTO responseEntity = null;
|
ResultDTO responseEntity = null;
|
||||||
@@ -174,7 +174,7 @@ public class ISVHttpRequest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public List<SysDepartmentDTO> getSubDepartments(String parentId, Boolean fetchChild) {
|
public List<SysDepartmentDTO> getSubDepartments(String parentId, Boolean fetchChild) {
|
||||||
String url = isvDomain + "/isv/corp/getSubDepartments";
|
String url = isvDomain + "/corp/getSubDepartments";
|
||||||
HashMap requestMap = new HashMap();
|
HashMap requestMap = new HashMap();
|
||||||
requestMap.put("parentId", parentId);
|
requestMap.put("parentId", parentId);
|
||||||
requestMap.put("fetchChild", fetchChild);
|
requestMap.put("fetchChild", fetchChild);
|
||||||
@@ -199,7 +199,7 @@ public class ISVHttpRequest {
|
|||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
public List<UserFreeBusyInfoDTO> getFreeBusyList(String userId, long startTime, long endTime) throws ApiException{
|
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();
|
HashMap requestMap = new HashMap();
|
||||||
requestMap.put("userId", userId);
|
requestMap.put("userId", userId);
|
||||||
requestMap.put("startTime", startTime);
|
requestMap.put("startTime", startTime);
|
||||||
@@ -225,7 +225,7 @@ public class ISVHttpRequest {
|
|||||||
* @throws ApiException
|
* @throws ApiException
|
||||||
*/
|
*/
|
||||||
public UserCalendarsEventDTO createUserCalendarEvent(CreateCalendarEventDTO param) throws ApiException{
|
public UserCalendarsEventDTO createUserCalendarEvent(CreateCalendarEventDTO param) throws ApiException{
|
||||||
String url = isvDomain + "/isv/user/createUserCalendarEvent";
|
String url = isvDomain + "/user/createUserCalendarEvent";
|
||||||
ResultDTO responseEntity = null;
|
ResultDTO responseEntity = null;
|
||||||
try {
|
try {
|
||||||
responseEntity = httpRestTemplateService.postForObject(url, param, ResultDTO.class);
|
responseEntity = httpRestTemplateService.postForObject(url, param, ResultDTO.class);
|
||||||
@@ -247,7 +247,7 @@ public class ISVHttpRequest {
|
|||||||
* @throws ApiException
|
* @throws ApiException
|
||||||
*/
|
*/
|
||||||
public UserCalendarsEventDTO updateUserCalendarEvent(UpdateCalendarEventDTO param) throws ApiException{
|
public UserCalendarsEventDTO updateUserCalendarEvent(UpdateCalendarEventDTO param) throws ApiException{
|
||||||
String url = isvDomain + "/isv/user/updateUserCalendarEvent";
|
String url = isvDomain + "/user/updateUserCalendarEvent";
|
||||||
ResultDTO responseEntity = null;
|
ResultDTO responseEntity = null;
|
||||||
try {
|
try {
|
||||||
responseEntity = httpRestTemplateService.postForObject(url, param, ResultDTO.class);
|
responseEntity = httpRestTemplateService.postForObject(url, param, ResultDTO.class);
|
||||||
@@ -269,7 +269,7 @@ public class ISVHttpRequest {
|
|||||||
* @throws ApiException
|
* @throws ApiException
|
||||||
*/
|
*/
|
||||||
public UserCalendarsEventDTO deleteUserCalendarEvent(DeleteCalendarEventDTO param) throws ApiException {
|
public UserCalendarsEventDTO deleteUserCalendarEvent(DeleteCalendarEventDTO param) throws ApiException {
|
||||||
String url = isvDomain + "/isv/user/deleteUserCalendarEvent";
|
String url = isvDomain + "/user/deleteUserCalendarEvent";
|
||||||
ResultDTO responseEntity = null;
|
ResultDTO responseEntity = null;
|
||||||
try {
|
try {
|
||||||
responseEntity = httpRestTemplateService.postForObject(url, param, ResultDTO.class);
|
responseEntity = httpRestTemplateService.postForObject(url, param, ResultDTO.class);
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ mybatis.mapper-locations=classpath*:mapper/**/*Mapper.xml
|
|||||||
mybatis.configuration.call-setters-on-nulls=true
|
mybatis.configuration.call-setters-on-nulls=true
|
||||||
mybatis.configuration.map-underscore-to-camel-case=true
|
mybatis.configuration.map-underscore-to-camel-case=true
|
||||||
|
|
||||||
isv.domain = https://abstore-isv.coolstore.cn
|
isv.domain = https://abstore-isv.coolstore.cn/isv
|
||||||
|
|
||||||
#rocketmq \u914D\u7F6E
|
#rocketmq \u914D\u7F6E
|
||||||
rocketmq.accessKey=zK2oVEz4G1ts23d2
|
rocketmq.accessKey=zK2oVEz4G1ts23d2
|
||||||
|
|||||||
Reference in New Issue
Block a user