正在显示
1 个修改的文件
包含
12 行增加
和
1 行删除
1 | import http from './http.js' | 1 | import http from './http.js' |
2 | let baseUrl = 'air-server-transport/transport/route' | 2 | let baseUrl = 'air-server-transport/transport/route' |
3 | let baseUrlBill = 'air-server-transport/transport/bill' | 3 | let baseUrlBill = 'air-server-transport/transport/bill' |
4 | +let baseUrlFlight = 'air-server-transport/transport/flight' | ||
5 | + | ||
4 | 6 | ||
5 | 7 | ||
6 | //航线申报 | 8 | //航线申报 |
@@ -20,4 +22,13 @@ export const addBill = params => { return http.post(`${baseUrlBill}/addBill`, p | @@ -20,4 +22,13 @@ export const addBill = params => { return http.post(`${baseUrlBill}/addBill`, p | ||
20 | //查询列表 | 22 | //查询列表 |
21 | export const selectBill=params=>{return http.get(`${baseUrlBill}/selectBill`, params);}; | 23 | export const selectBill=params=>{return http.get(`${baseUrlBill}/selectBill`, params);}; |
22 | //删除方法 | 24 | //删除方法 |
23 | -export const editBill=params=>{return http.put(`${baseUrlBill}/editBill`, params);}; | ||
25 | +export const editBill=params=>{return http.put(`${baseUrlBill}/editBill`, params);}; | ||
26 | + | ||
27 | + | ||
28 | +//航班申报 | ||
29 | +//新增方法 | ||
30 | +export const addFlight = params => { return http.post(`${baseUrlFlight}/addFlight`, params); }; | ||
31 | +//查询列表 | ||
32 | +export const selectFlight=params=>{return http.get(`${baseUrlFlight}/selectFlight`, params);}; | ||
33 | +//删除方法 | ||
34 | +export const editFlight=params=>{return http.put(`${baseUrlFlight}/editFlight`, params);}; |
-
请 注册 或 登录 后发表评论