22 lines
669 B
Java
22 lines
669 B
Java
|
|
package com.dbnt.faisp.userInfo;
|
||
|
|
|
||
|
|
import com.dbnt.faisp.userInfo.model.UserInfo;
|
||
|
|
import com.dbnt.faisp.userInfo.service.UserInfoService;
|
||
|
|
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);
|
||
|
|
}
|
||
|
|
}
|