Files
vpUni/.svn/pristine/7c/7ceccfa5feccf83545460643a4ca1f13af536696.svn-base
2026-03-09 16:39:03 +08:00

27 lines
835 B
Plaintext

import { Service } from '@/Service/Service';
/*****用户订单*****/
class vpOrderService {
private static GetUserOrderListPath : string = '/Order/GetUserOrderList';
/*****获取用户订单列表*****/
static GetUserOrderList(page:number) {
var result = Service.Request(this.GetUserOrderListPath, 'GET', {page});
return result;
}
private static GetOrderInfoPath : string = '/Order/GetOrderInfo';
/*****获取用户订单详情*****/
static GetOrderInfo(orderId:string) {
var result = Service.Request(this.GetOrderInfoPath, 'GET', {orderId});
return result;
}
private static CancalPayPath : string = '/Order/CancalPay';
/*****取消支付*****/
static CancalPay(merchId:string) {
var result = Service.Request(this.CancalPayPath, 'GET', {merchId});
return result;
}
}
export { Service, vpOrderService };