56 lines
961 B
TypeScript
56 lines
961 B
TypeScript
import request from "/@/utils/request"
|
|
|
|
export function pageJoin(query?: Object) {
|
|
return request({
|
|
url: "/wallet/mch-rule-join/page-join",
|
|
method: "get",
|
|
params: query,
|
|
})
|
|
}
|
|
|
|
export function fetchList(query?: Object) {
|
|
return request({
|
|
url: "/wallet/mch-rule-join/page",
|
|
method: "get",
|
|
params: query,
|
|
})
|
|
}
|
|
|
|
export function addObj(obj?: Object) {
|
|
return request({
|
|
url: "/wallet/mch-rule-join",
|
|
method: "post",
|
|
data: obj,
|
|
})
|
|
}
|
|
|
|
export function getObj(id?: string) {
|
|
return request({
|
|
url: "/wallet/mch-rule-join/" + id,
|
|
method: "get",
|
|
})
|
|
}
|
|
|
|
export function getJoinDetail(id?: string) {
|
|
return request({
|
|
url: "/wallet/mch-rule-join/join-detail/" + id,
|
|
method: "get",
|
|
})
|
|
}
|
|
|
|
export function delObjs(ids?: Object) {
|
|
return request({
|
|
url: "/wallet/mch-rule-join",
|
|
method: "delete",
|
|
data: ids,
|
|
})
|
|
}
|
|
|
|
export function putObj(obj?: Object) {
|
|
return request({
|
|
url: "/wallet/mch-rule-join",
|
|
method: "put",
|
|
data: obj,
|
|
})
|
|
}
|