You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

97 lines
1.4 KiB

11 months ago
import { PageQuery } from '~/types/global'
/**
*
*/
export interface ProductsInfo {
name: string
id: number
sliderImage: string
price: string
otPrice: string
sales: number
stock: number
ficti: number
unitName: string
content: string
}
/**
*
*/
export interface ReplyList {
avatar: string
nickname: string
star: number
sku: string
createTime: string
}
/**
*
*/
export interface ReplyConfig {
sumCount: number
goodCount: number
inCount: number
poorCount: number
replyChance: string
replyStar: number
}
/**
*
*/
export interface CartCount {
numType: boolean
type: string
}
/**
*
*/
export interface CartAdd {
cartNum: number
productAttrUnique: number
productId: number
}
/**
*
*/
export interface CollectPro {
category: number
productId: number
}
/**
* ids
*/
export interface ProductIds {
ids: string | string[] | undefined
}
/**
*
*/
export interface CouponListQuery extends PageQuery {
category: number
merId?: number
productId?: number
}
/**
*
*/
export interface ProductListQuery extends PageQuery {
brandId: string
cid: string
keyword: string
maxPrice: string | null
merId: string
minPrice: string | null
priceOrder: string
salesOrder: string
tagId: number | null
}