商品已完成优化
This commit is contained in:
@@ -1,4 +1,11 @@
|
||||
export const listingStatuses = ['draft', 'published', 'rented', 'offline', 'abnormal'] as const
|
||||
export const listingStatuses = [
|
||||
'draft',
|
||||
'published',
|
||||
'rented',
|
||||
'offline',
|
||||
'completed',
|
||||
'abnormal',
|
||||
] as const
|
||||
export type ListingStatus = (typeof listingStatuses)[number]
|
||||
|
||||
export const listingReviewStatuses = ['none', 'pending', 'approved', 'rejected'] as const
|
||||
|
||||
@@ -18,6 +18,7 @@ const listingStatusMap: Record<ListingStatus, string> = {
|
||||
published: '已上架',
|
||||
rented: '租用中',
|
||||
offline: '已下架',
|
||||
completed: '已完成',
|
||||
abnormal: '异常',
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user