123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- import request from '@/utils/request'
- // 获取运费模板列表
- export function getList(params) {
- return request({
- url: '/freight/list',
- method: 'get',
- params
- })
- }
- // 更改运费模板状态
- export function changeFreightStatus(params) {
- return request({
- url: '/freight/status/update',
- method: 'post',
- params
- })
- }
- // 删除运费模板
- export function deleteFreight(params) {
- return request({
- url: '/freight/delete',
- method: 'post',
- params
- })
- }
- // 新增/编辑运费模板
- export function addOrEditFreight(params) {
- return request({
- url: '/freight/save',
- method: 'post',
- data: params
- })
- }
- // 获取运费模板详情
- export function getFreightDetail(params) {
- return request({
- url: '/freight/detail',
- method: 'get',
- params
- })
- }
- // 获取地区树
- export function getRegionTree(params) {
- return request({
- url: '/freight/region/tree',
- method: 'get',
- params
- })
- }
|