123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- import request from '@/utils/request'
- import Qs from 'qs'
- export function listExpressBill(query) {
- return request({
- method: 'post',
- params:{
- _gp: 'admin.expressbill',
- _mt: 'list',
- page: query.page,
- limit: query.limit,
- ...query
- }
- })
- }
- export function createExpressBill(data) {
- return request({
- method: 'post',
- data: Qs.stringify({
- _gp: 'admin.expressbill',
- _mt: 'create',
- ExpressBillDTO: JSON.stringify(data)
- })
- })
- }
- export function updateExpressBill(data) {
- return request({
- method: 'post',
- data: Qs.stringify({
- _gp: 'admin.expressbill',
- _mt: 'edit',
- ExpressBillDTO: JSON.stringify(data)
- })
- })
- }
- export function deleteExpressBill(id) {
- return request({
- method: 'post',
- params: {
- _gp: 'admin.expressbill',
- _mt: 'delete',
- id: id
- }
- })
- }
|