forked from gxwebsoft/mp-10550
refactor(api): 更新 API调用以使用新的请求工具- 将所有 API 调用中的 request-legacy 替换为 request
- 优化部分 API 调用的参数传递方式 - 统一导入 ApiResult 和 PageResult 类型的路径
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import request from '@/utils/request-legacy';
|
||||
import request from '@/utils/request';
|
||||
import type { ApiResult, PageResult } from '@/api/index';
|
||||
import type { ShopUserCoupon, ShopUserCouponParam } from './model';
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@ export interface ShopUserCoupon {
|
||||
// 剩余小时数(后端计算)
|
||||
hoursRemaining?: number;
|
||||
// 使用时间
|
||||
useTime?: string;
|
||||
takeTime?: string;
|
||||
// 使用订单ID
|
||||
orderId?: string;
|
||||
// 使用订单号
|
||||
|
||||
Reference in New Issue
Block a user