审核接口增加

This commit is contained in:
monanxiao
2024-10-12 16:08:30 +08:00
parent 2901e631fa
commit 5fda0a03cb
2 changed files with 42 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
import service from "../request.js";
const API_BASE_URL = '/application';
// 待审核列表
export function getApplicationList(query) {
return service({
method: "get",
url: `${API_BASE_URL}/list`,
data: query,
});
}
// 通过
export function approveApplication(query) {
return service({
method: "get",
url: `${API_BASE_URL}/approve`,
data: query,
});
}
// 拒绝
export function rejectApplication(query) {
return service({
method: "get",
url: `${API_BASE_URL}/reject`,
data: query,
});
}
+12
View File
@@ -0,0 +1,12 @@
import service from "../request.js";
const API_BASE_URL = '/order';
// 订单列表
export function getOrderList(query) {
return service({
method: "get",
url: `${API_BASE_URL}/all/list`,
data: query,
});
}