使用线上接口
Some checks failed
CI / build (18.x) (push) Failing after 16m41s
CI / build (20.x) (push) Failing after 21m19s
CI / deploy-preview (push) Has been skipped
CI / lint (push) Failing after 1m34s
CI / test (push) Failing after 1m34s
CI / security (push) Failing after 34s

This commit is contained in:
97694731 2026-06-15 18:11:15 +08:00
parent 44ba8a631c
commit 763055de31

View File

@ -168,8 +168,8 @@ export const createOrderBatch = async (params) => {
formData.append('remark', params.remark || '') formData.append('remark', params.remark || '')
console.log('请求参数:', Object.fromEntries(formData.entries())) console.log('请求参数:', Object.fromEntries(formData.entries()))
// //
const res = await axios.post(`http://192.168.101.127:8075/api/print/createOrderBatch`, formData) // const res = await axios.post(`http://192.168.101.127:8075/api/print/createOrderBatch`, formData)
// const res = await axios.post(`${PRINT_API_BASE}/api/print/createOrderBatch`, formData) const res = await axios.post(`${PRINT_API_BASE}/api/print/createOrderBatch`, formData)
return res.data return res.data
} }
@ -208,8 +208,8 @@ export const submitCompanyOrder = async (params) => {
*/ */
export const fetchExpressInfo = async (waybillNo) => { export const fetchExpressInfo = async (waybillNo) => {
const res = await axios.get(`http://192.168.101.127:8075/api/print/printViewByWaybillNo`, { params: { waybillNo } }) // const res = await axios.get(`http://192.168.101.127:8075/api/print/printViewByWaybillNo`, { params: { waybillNo } })
// const res = await axios.get(`${PRINT_API_BASE}/api/print/printViewByWaybillNo`, { params: { waybillNo } }) const res = await axios.get(`${PRINT_API_BASE}/api/print/printViewByWaybillNo`, { params: { waybillNo } })
return res.data return res.data
} }