完善sku
This commit is contained in:
@ -34,3 +34,26 @@ export function checkCategory() {
|
||||
export function uploadImage(params: any) {
|
||||
return request.post({ url: '/upload/image', params })
|
||||
}
|
||||
|
||||
export type SkuNameValue = {
|
||||
value: string
|
||||
image: string
|
||||
}
|
||||
export type SkuNameList = {
|
||||
name: string
|
||||
value: SkuNameValue[]
|
||||
has_image?: number
|
||||
}
|
||||
export type SkuItemList = {
|
||||
id?: number | string
|
||||
ids?: number[]
|
||||
image?: string
|
||||
sku_value_arr: string[]
|
||||
price: string
|
||||
line_price: string
|
||||
market_price: string
|
||||
stock: number
|
||||
weight: number
|
||||
volume: string
|
||||
code: string
|
||||
}
|
||||
Reference in New Issue
Block a user