使用线上接口
Some checks failed
Some checks failed
This commit is contained in:
parent
44ba8a631c
commit
763055de31
@ -168,8 +168,8 @@ export const createOrderBatch = async (params) => {
|
||||
formData.append('remark', params.remark || '')
|
||||
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(`${PRINT_API_BASE}/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)
|
||||
return res.data
|
||||
}
|
||||
|
||||
@ -208,8 +208,8 @@ export const submitCompanyOrder = async (params) => {
|
||||
*/
|
||||
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(`${PRINT_API_BASE}/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 } })
|
||||
return res.data
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user