Zimo 4 недель назад
Родитель
Сommit
ab71df8d95

+ 2 - 2
yudao-server/src/main/java/cn/iocoder/yudao/server/controller/admin/TodoController.java

@@ -107,7 +107,7 @@ public class TodoController {
     @GetMapping("/crm")
     @PermitAll
     public CommonResult<ImmutableMap<String, Object>> crmTodo(String workcode, String type, Integer pageNo, Integer pageSize) throws Exception {
-        ImmutableMap<String, String> stringStringImmutableMap = crmRest.refreshToken("ec301168-d9d7-4f0c-a73c-03f50e952a3a");
+        ImmutableMap<String, String> stringStringImmutableMap = crmRest.refreshToken("7b9348ed-280f-4d6b-82a1-2d67a74132cf");
         AdminUserRespDTO userByUsername = adminUserApi.getUserByUsername(workcode);
         if (userByUsername == null) {throw new ServiceException(new ErrorCode(1,"门户系统中不存在该用户"));}
 
@@ -131,7 +131,7 @@ public class TodoController {
         if (CollUtil.isNotEmpty(workCode)) {
             return CommonResult.success(workCode);
         } else {
-            ImmutableMap<String, String> stringStringImmutableMap = crmRest.refreshToken("ec301168-d9d7-4f0c-a73c-03f50e952a3a");
+            ImmutableMap<String, String> stringStringImmutableMap = crmRest.refreshToken("7b9348ed-280f-4d6b-82a1-2d67a74132cf");
             AdminUserRespDTO userByUsername = adminUserApi.getUserByUsername(workcode);
             if (userByUsername == null) {throw new ServiceException(new ErrorCode(1,"门户系统中不存在该用户"));}
 

+ 1 - 1
yudao-server/src/main/java/cn/iocoder/yudao/server/rest/CrmRest.java

@@ -145,7 +145,7 @@ public class CrmRest {
         crmPersonMapper.insertBatch(collect);
     }
 
-    public ImmutableMap<String, Object> getCrmTodoList(String token, String crmUserId, String type, Integer pageSize, Integer pageNo) {
+    public ImmutableMap<String, Object> getCrmTodoList(String token, String crmUserId, String type, Integer pageNo, Integer pageSize) {
         HttpHeaders headers = new HttpHeaders();
         headers.add("Authorization", token);
         HttpEntity<MultiValueMap<String, String>> requestEntity = new HttpEntity<>(headers);