diff --git a/backend/src/main/java/com/edufocus/edufocus/user/model/entity/InfoDto.java b/backend/src/main/java/com/edufocus/edufocus/user/model/entity/InfoDto.java new file mode 100644 index 0000000..ed96b9c --- /dev/null +++ b/backend/src/main/java/com/edufocus/edufocus/user/model/entity/InfoDto.java @@ -0,0 +1,8 @@ +package com.edufocus.edufocus.user.model.entity; + +public class InfoDto { + + String name; + String email; + +} diff --git a/backend/src/main/java/com/edufocus/edufocus/user/model/service/UserService.java b/backend/src/main/java/com/edufocus/edufocus/user/model/service/UserService.java index f661fd1..2f63135 100644 --- a/backend/src/main/java/com/edufocus/edufocus/user/model/service/UserService.java +++ b/backend/src/main/java/com/edufocus/edufocus/user/model/service/UserService.java @@ -12,4 +12,7 @@ public interface UserService { void sendEamail(User user) throws Exception; void userCheck(Long id) throws Exception; String getUserName(Long id) throws Exception; + void changeuInfo(Long id) throws Exception; + void changePassword(Long id) throws Exception; + } diff --git a/backend/src/main/java/com/edufocus/edufocus/user/model/service/UserServiceImpl.java b/backend/src/main/java/com/edufocus/edufocus/user/model/service/UserServiceImpl.java index 554d971..66bb873 100644 --- a/backend/src/main/java/com/edufocus/edufocus/user/model/service/UserServiceImpl.java +++ b/backend/src/main/java/com/edufocus/edufocus/user/model/service/UserServiceImpl.java @@ -143,6 +143,16 @@ public class UserServiceImpl implements UserService{ return userRepository.findById(id).get().getName(); } + @Override + public void changeuInfo(Long id) throws Exception { + + } + + @Override + public void changePassword(Long id) throws Exception { + + } + public String getTempPassword() { char[] charSet = new char[] { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'}; diff --git a/backend/src/main/java/com/edufocus/edufocus/video/controller/Controller.java b/backend/src/main/java/com/edufocus/edufocus/video/controller/Controller.java index 36cadb8..b6c1493 100644 --- a/backend/src/main/java/com/edufocus/edufocus/video/controller/Controller.java +++ b/backend/src/main/java/com/edufocus/edufocus/video/controller/Controller.java @@ -21,11 +21,12 @@ import org.springframework.web.bind.annotation.*; import livekit.LivekitWebhook.WebhookEvent; -//@CrossOrigin(origins = "*") +@CrossOrigin(origins = "*") @RestController @RequestMapping("/video") @Slf4j @RequiredArgsConstructor + public class Controller { private final JWTUtil jwtUtil; private final UserService userService;