This commit is contained in:
PC-202306242200\Administrator
2024-09-10 17:36:12 +08:00
parent f5dac4709a
commit 3bd52377e1
5 changed files with 7 additions and 7 deletions

2
dist/index.html vendored
View File

@@ -8,6 +8,6 @@
</head>
<body>
<div id="root"></div>
<script src="/umi.e3e7a662.js"></script>
<script src="/umi.67a2b5e5.js"></script>
</body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,17 +1,17 @@
import { request } from '@umijs/max';
export async function orderPage(body) {
return request('/admin/orders/page', {
export async function orderPage(bodys) {
return request('/api/orders/page', {
method: 'POST',
headers: {
'Content-Type': 'application/json;charset=UTF-8',
},
data: body || {},
data: bodys || {},
});
}
export async function orderExport(body) {
return request('/admin/orders/export', {
return request('/api/orders/export', {
method: 'POST',
headers: {
'Content-Type': 'application/json;charset=UTF-8',