20 lines
620 B
Plaintext
20 lines
620 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;
|
|
}
|
|
|
|
|
|
}
|
|
export { Service, vpOrderService }; |