feat:商户权限

This commit is contained in:
dzc committed 2025-01-10 11:23:44 +08:00
1 parent 6fefe9d69c
commit 5f757796c8
5 files changed
+113 -96

No files matched your search

+26 -26
View File
@@ -1,58 +1,58 @@
import request from '/@/utils/request';
import request from "/@/utils/request"
export function pageJoinSelect(query?: Object) {
export function select(query?: Object) {
return request({
url: '/wallet/mch-manage/page-join-select',
method: 'get',
url: "/wallet/mch-manage/select",
method: "get",
params: query,
});
})
}
export function pageJoin(query?: Object) {
return request({
url: '/wallet/mch-manage/page-join',
method: 'get',
url: "/wallet/mch-manage/page-join",
method: "get",
params: query,
});
})
}
export function fetchList(query?: Object) {
return request({
url: '/wallet/mch-manage/page',
method: 'get',
url: "/wallet/mch-manage/page",
method: "get",
params: query,
});
})
}
export function addObj(obj?: Object) {
return request({
url: '/wallet/mch-manage',
method: 'post',
url: "/wallet/mch-manage",
method: "post",
data: obj,
});
})
}
export function getObj(id?: string) {
return request({
url: '/wallet/mch-manage/' + id,
method: 'get',
});
url: "/wallet/mch-manage/" + id,
method: "get",
})
}
export function delObjs(ids?: Object) {
return request({
url: '/wallet/mch-manage',
method: 'delete',
url: "/wallet/mch-manage",
method: "delete",
data: ids,
});
})
}
export function putObj(obj?: Object) {
return request({
url: '/wallet/mch-manage',
method: 'put',
url: "/wallet/mch-manage",
method: "put",
data: obj,
});
})
}
/**
@@ -61,10 +61,10 @@ export function putObj(obj?: Object) {
*/
export function selectMerchantList(type?: string) {
return request({
url: '/wallet/mch-manage/selectMerchantList',
method: 'get',
url: "/wallet/mch-manage/selectMerchantList",
method: "get",
params: {
type: type,
},
});
})
}