weirdoheheelf il y a 5 ans
Parent
commit
7700c3c5f2

+ 3 - 2
seecoder-portal-server/src/main/java/cn/seecoder/seecoderportalserver/service/Impl/RookieServiceImpl.java

@@ -311,7 +311,7 @@ public class RookieServiceImpl implements RookieService {
             Optional<User> virtualTeacher=userRepository.findByPhoneOrUsername("18168058387","guanying");
             UsernamePasswordAuthenticationToken authenticationToken =
                 new UsernamePasswordAuthenticationToken(
-                    "18168058387", "123456");
+                    "18001585267", "NJU67seec");
 
             Authentication authentication =
                 authenticationManagerBuilder.getObject().authenticate(authenticationToken);
@@ -612,7 +612,8 @@ public class RookieServiceImpl implements RookieService {
     private Page<RecordVO> getCurrentRecord(){
         SeecoderBokClient seecoderBokClient=new SeecoderBokClient("http://bok.seec.seecoder.cn");
         DomainUserDetails currentUser= SecurityUtils.getCurrentUser();
-        String userId=currentUser.getId().toString();
+        //String userId=currentUser.getId().toString();
+        String userId="1372";
         List<String> userIdList=new ArrayList<>();
         userIdList.add(userId);
         //分页(设置10000来获取所有记录)