This commit is contained in:
dzc committed 2025-03-28 20:50:23 +08:00
1 parent 192f8b8dca
commit 96474bee0b
2 files changed
+10 -11

No files matched your search

+7 -7
View File
@@ -2,7 +2,7 @@ import request from "/@/utils/request"
export function asyncAll(query?: Object) {
return request({
url: "/wallet/mch-dept-user/sync-all",
url: "/wallet/mch-dept/sync-all",
method: "get",
params: query,
})
@@ -10,7 +10,7 @@ export function asyncAll(query?: Object) {
export function fetchList(query?: Object) {
return request({
url: "/wallet/mch-dept-user/page",
url: "/wallet/mch-dept/page",
method: "get",
params: query,
})
@@ -18,7 +18,7 @@ export function fetchList(query?: Object) {
export function pageJoin(query?: Object) {
return request({
url: "/wallet/mch-dept-user/page-join",
url: "/wallet/mch-dept/page-join",
method: "get",
params: query,
})
@@ -26,7 +26,7 @@ export function pageJoin(query?: Object) {
export function addObj(obj?: Object) {
return request({
url: "/wallet/mch-dept-user",
url: "/wallet/mch-dept",
method: "post",
data: obj,
})
@@ -34,14 +34,14 @@ export function addObj(obj?: Object) {
export function getObj(id?: string) {
return request({
url: "/wallet/mch-dept-user/" + id,
url: "/wallet/mch-dept/" + id,
method: "get",
})
}
export function delObjs(ids?: Object) {
return request({
url: "/wallet/mch-dept-user",
url: "/wallet/mch-dept",
method: "delete",
data: ids,
})
@@ -49,7 +49,7 @@ export function delObjs(ids?: Object) {
export function putObj(obj?: Object) {
return request({
url: "/wallet/mch-dept-user",
url: "/wallet/mch-dept",
method: "put",
data: obj,
})