You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
484 B
JavaScript
33 lines
484 B
JavaScript
import {
|
|
request
|
|
} from "@/utils/request";
|
|
|
|
export default {
|
|
List(data) {
|
|
return request({
|
|
url: "/admin/Coupon/List",
|
|
method: "GET",
|
|
data,
|
|
type: 'store'
|
|
});
|
|
},
|
|
GetItem(data) {
|
|
return request({
|
|
url: "/admin/Coupon/GetItem",
|
|
method: "GET",
|
|
data,
|
|
type: 'store'
|
|
});
|
|
},
|
|
Create(data) {
|
|
return request({
|
|
url: "/admin/Coupon/Create",
|
|
method: "POST",
|
|
data,
|
|
type: 'store'
|
|
});
|
|
},
|
|
|
|
|
|
|
|
}; |