refactor(shop): 更新 API调用和页面逻辑

- 修改了多个文件中的 API调用路径
- 优化了部分组件的显示逻辑
- 添加了优惠券相关功能
-调整了环境变量配置
This commit is contained in:
2025-08-14 01:06:44 +08:00
parent 89cadc3886
commit 2c864ce770
12 changed files with 138 additions and 89 deletions

View File

@@ -32,6 +32,8 @@ export interface ShopUserCoupon {
endTime?: string;
// 使用状态(0未使用 1已使用 2已过期)
status?: number;
// 是否过期, 0否, 1是
isExpire?: number;
// 使用时间
useTime?: string;
// 使用订单ID
@@ -57,5 +59,9 @@ export interface ShopUserCoupon {
*/
export interface ShopUserCouponParam extends PageParam {
id?: number;
status?: number;
isExpire?: number;
sortBy?: string;
sortOrder?: string;
keywords?: string;
}