添加优惠券功能 & 更新折扣管理的接口

This commit is contained in:
Eamon
2026-03-27 15:51:40 +08:00
parent 453d687c4a
commit 76d2d480ed
10 changed files with 667 additions and 19 deletions

12
src/models/coupon.ts Normal file
View File

@@ -0,0 +1,12 @@
export type Coupon = {
id: number
created_at: Date
updated_at: Date
user_id: number
code: string
remark: string
amount: number
min_amount: number
status: number
expire_at: Date
}