You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
569 B
21 lines
569 B
import { defHttp } from '@/utils/http/axios' |
|
|
|
// 获得示例订单分页 |
|
export function getDemoOrderPage(params) { |
|
return defHttp.get({ url: '/pay/demo-order/page', params }) |
|
} |
|
|
|
// 获得示例订单 |
|
export function getDemoOrder(id: number) { |
|
return defHttp.get({ url: '/pay/demo-order/get?id=' + id }) |
|
} |
|
|
|
// 创建示例订单 |
|
export function createDemoOrder(data) { |
|
return defHttp.post({ url: '/pay/demo-order/create', data }) |
|
} |
|
|
|
// 退款示例订单 |
|
export function updateApp(id: number) { |
|
return defHttp.put({ url: '/pay/demo-order/refund?id=' + id }) |
|
}
|
|
|