添加客户查询页面包括导航权限控制 & 删除多余代码

This commit is contained in:
Eamon
2026-04-08 13:41:12 +08:00
parent ff645aaaca
commit 8fcf54ae10
6 changed files with 328 additions and 116 deletions

View File

@@ -1,9 +1,9 @@
import type { Admin } from "./admin"
import type { ProductDiscount } from "./product_discount"
export type User = {
id: number
admin_id?: number
admin?: Admin
phone: string
source: number
has_password: boolean
@@ -24,4 +24,8 @@ export type User = {
last_login_ip: string
created_at: Date
updated_at: Date
password: string
discount_id: string
discount: ProductDiscount
admin?: Admin
}