refactor: 系统管理页面重构和ts类型声明优化
Former-commit-id: 40263bbb072596ada41ef33d9170841e7e66cd01
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { OrderPageResult, OrderQueryParam } from '@/types';
|
||||
import { OrderPageResult, OrderQueryParam } from '@/types/api/oms/order';
|
||||
import request from '@/utils/request';
|
||||
import { AxiosPromise } from 'axios';
|
||||
|
||||
@@ -13,7 +13,7 @@ export function listOrderPages(
|
||||
return request({
|
||||
url: '/mall-oms/api/v1/orders',
|
||||
method: 'get',
|
||||
params: queryParams
|
||||
params: queryParams,
|
||||
});
|
||||
}
|
||||
|
||||
@@ -25,6 +25,6 @@ export function listOrderPages(
|
||||
export function getOrderDetail(orderId: number) {
|
||||
return request({
|
||||
url: '/mall-oms/api/v1/orders/' + orderId,
|
||||
method: 'get'
|
||||
method: 'get',
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user