Merge branch 'dev' of https://git.hanasys.jp/qcast3/onsitesurvey into feature/survey

This commit is contained in:
Dayoung 2025-05-28 14:26:58 +09:00
commit 76f85f65c9
2 changed files with 7 additions and 2 deletions

View File

@ -5,7 +5,8 @@ NEXT_PUBLIC_RUN_MODE=local
NEXT_PUBLIC_API_URL=http://172.30.1.65:3000
#qsp 로그인 api
NEXT_PUBLIC_QSP_API_URL=http://1.248.227.176:8120
# NEXT_PUBLIC_QSP_API_URL=http://1.248.227.176:8120
NEXT_PUBLIC_QSP_API_URL=http://121.168.9.37:8080
#1:1문의 api
NEXT_PUBLIC_INQUIRY_API_URL=http://172.23.4.129:8110

View File

@ -79,7 +79,11 @@ export default function Login() {
url = '/api/partner'
}
const { data } = await axiosInstance('').post<LoginData>(`${url}`, {
// const { data } = await axiosInstance('').post<LoginData>(`${url}`, {
// loginId: account.loginId,
// pwd: account.pwd,
// })
const { data } = await axiosInstance(`${process.env.NEXT_PUBLIC_QSP_API_URL}`).post(`/api/user/login`, {
loginId: account.loginId,
pwd: account.pwd,
})