You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
593 B
34 lines
593 B
import request from '@/utils/request' |
|
|
|
export function add(data,id) { |
|
return request({ |
|
url: `api/yxShippingTemplates/save/${id}`, |
|
method: 'post', |
|
data |
|
}) |
|
} |
|
|
|
export function del(ids) { |
|
return request({ |
|
url: '/bxg/api/yxShippingTemplates/', |
|
method: 'delete', |
|
data: ids |
|
}) |
|
} |
|
|
|
export function edit(data) { |
|
return request({ |
|
url: '/bxg/api/yxShippingTemplates', |
|
method: 'put', |
|
data |
|
}) |
|
} |
|
|
|
export function getCity() { |
|
return request({ |
|
url: '/bxg/api/yxShippingTemplates/citys', |
|
method: 'get' |
|
}); |
|
} |
|
|
|
export default { add, edit, del,getCity }
|
|
|