2 Commit-ok 559913d6b1 ... f90b6e1c86

Szerző SHA1 Üzenet Dátum
  weirdoheheelf f90b6e1c86 fix 5 éve
  weirdoheheelf 7700c3c5f2 fix 5 éve

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