更新客户管理模块

This commit is contained in:
Eamon
2026-03-28 14:28:32 +08:00
parent 76d2d480ed
commit f72b6bddd0
7 changed files with 543 additions and 210 deletions

View File

@@ -1,8 +1,11 @@
import type { ProductDiscount } from "./product_discount"
export type Cust = {
id: number
admin_id?: number
phone: string
admin?: Admin
source: number
has_password: boolean
username: string
email: string
@@ -21,6 +24,7 @@ export type Cust = {
last_login_ip: string
created_at: Date
updated_at: Date
discount: ProductDiscount
}
export type Admin = {
name: string