2022-09-11 06:30:20 +00:00
|
|
|
package com.dbnt.faisp.userInfo;
|
2022-08-19 02:04:38 +00:00
|
|
|
|
2022-08-23 02:34:25 +00:00
|
|
|
import com.dbnt.faisp.userInfo.model.UserInfo;
|
2022-09-11 06:30:20 +00:00
|
|
|
import com.dbnt.faisp.userInfo.service.UserInfoService;
|
2022-08-19 02:04:38 +00:00
|
|
|
import lombok.RequiredArgsConstructor;
|
|
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
|
|
|
|
@RestController
|
|
|
|
|
@RequiredArgsConstructor
|
|
|
|
|
@RequestMapping("/user")
|
|
|
|
|
public class UserInfoController {
|
|
|
|
|
|
|
|
|
|
private final UserInfoService userInfoService;
|
|
|
|
|
|
|
|
|
|
@PostMapping("/insertUserInfo")
|
|
|
|
|
public String insertUserInfo(UserInfo insertReqInfo) {
|
|
|
|
|
return userInfoService.insertUserInfo(insertReqInfo);
|
|
|
|
|
}
|
2022-10-12 09:22:20 +00:00
|
|
|
|
2022-08-19 02:04:38 +00:00
|
|
|
}
|