Compare commits
No commits in common. "9f653dbe4a6a34e57826414ce8551a37db11cf3d" and "798cd3b6d4604987f0cc277033adbc6a53279fb0" have entirely different histories.
9f653dbe4a
...
798cd3b6d4
@ -18,8 +18,6 @@ NEXT_PUBLIC_QSP_API_URL=http://121.168.9.37:8080
|
|||||||
# NEXT_PUBLIC_QSP_API_URL=http://localhost:8110
|
# NEXT_PUBLIC_QSP_API_URL=http://localhost:8110
|
||||||
# NEXT_PUBLIC_QSP_API_URL=http://dev.hanasysfield.jp
|
# NEXT_PUBLIC_QSP_API_URL=http://dev.hanasysfield.jp
|
||||||
# NEXT_PUBLIC_QSP_API_URL=https://jp-dev.qsalesplatform.com
|
# NEXT_PUBLIC_QSP_API_URL=https://jp-dev.qsalesplatform.com
|
||||||
#qsp 로그인 api header
|
|
||||||
NEXT_PUBLIC_QSP_API_REFERER=hanasysfield.jp
|
|
||||||
|
|
||||||
#1:1문의 api
|
#1:1문의 api
|
||||||
NEXT_PUBLIC_INQUIRY_API_URL=https://jp-dev.qsalesplatform.com
|
NEXT_PUBLIC_INQUIRY_API_URL=https://jp-dev.qsalesplatform.com
|
||||||
|
|||||||
@ -15,8 +15,6 @@ NEXT_PUBLIC_API_URL=http://localhost:3000
|
|||||||
#qsp 로그인 api
|
#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=https://jp-dev.qsalesplatform.com
|
# NEXT_PUBLIC_QSP_API_URL=https://jp-dev.qsalesplatform.com
|
||||||
#qsp 로그인 api header
|
|
||||||
NEXT_PUBLIC_QSP_API_REFERER=hanasysfield.jp
|
|
||||||
|
|
||||||
#1:1문의 api
|
#1:1문의 api
|
||||||
# NEXT_PUBLIC_INQUIRY_API_URL=https://jp-dev.qsalesplatform.com
|
# NEXT_PUBLIC_INQUIRY_API_URL=https://jp-dev.qsalesplatform.com
|
||||||
|
|||||||
@ -14,8 +14,6 @@ NEXT_PUBLIC_API_URL=https://hanasysfield.jp
|
|||||||
#qsp 로그인 api
|
#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=https://jp.qsalesplatform.com
|
NEXT_PUBLIC_QSP_API_URL=https://jp.qsalesplatform.com
|
||||||
#qsp 로그인 api header
|
|
||||||
NEXT_PUBLIC_QSP_API_REFERER=hanasysfield.jp
|
|
||||||
|
|
||||||
#1:1문의 api
|
#1:1문의 api
|
||||||
NEXT_PUBLIC_INQUIRY_API_URL=https://jp.qsalesplatform.com
|
NEXT_PUBLIC_INQUIRY_API_URL=https://jp.qsalesplatform.com
|
||||||
|
|||||||
@ -9,18 +9,10 @@ import { tracking } from '@/libs/tracking'
|
|||||||
export async function POST(request: Request) {
|
export async function POST(request: Request) {
|
||||||
const { loginId, pwd } = await request.json()
|
const { loginId, pwd } = await request.json()
|
||||||
|
|
||||||
const result = await axiosInstance(`${process.env.NEXT_PUBLIC_QSP_API_URL}`).post(
|
const result = await axiosInstance(`${process.env.NEXT_PUBLIC_QSP_API_URL}`).post(`/api/user/login`, {
|
||||||
`/api/user/login`,
|
loginId,
|
||||||
{
|
pwd,
|
||||||
loginId,
|
})
|
||||||
pwd,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
headers: {
|
|
||||||
referer: process.env.NEXT_PUBLIC_QSP_API_REFERER,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
)
|
|
||||||
console.log('🚀 ~ result ~ result:', result.data)
|
console.log('🚀 ~ result ~ result:', result.data)
|
||||||
|
|
||||||
let finalResult = {}
|
let finalResult = {}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user