feat: 订单列表
This commit is contained in:
@@ -68,7 +68,11 @@ export interface GameOrderRes {
|
||||
|
||||
// 发布球局类
|
||||
class OrderService {
|
||||
// 用户登录
|
||||
// 查询订单列表
|
||||
async getOrderList() {
|
||||
return httpService.post('/user/orders', {}, { showLoading: true })
|
||||
}
|
||||
// 创建订单
|
||||
async createOrder(game_id: number): Promise<ApiResponse<OrderResponse>> {
|
||||
return httpService.post('/payment/create_order', { game_id }, {
|
||||
showLoading: true,
|
||||
|
||||
Reference in New Issue
Block a user