fix: 商品详情UI优化、提示增强
This commit is contained in:
@@ -23,4 +23,20 @@ export async function getStoreDrugDetailApi(params) {
|
||||
*/
|
||||
export async function getOrderTextApi(params) {
|
||||
return await get('/product/order-text', params, 3)
|
||||
}
|
||||
/**
|
||||
* 获取首页热销商品(各分类Top 5)
|
||||
* @param params
|
||||
* @returns {Promise<*>}
|
||||
*/
|
||||
export async function getHomeTopProductsApi(params) {
|
||||
return await get('/product/home-top-products', params, 3)
|
||||
}
|
||||
/**
|
||||
* 更新商品介绍图
|
||||
* @param params
|
||||
* @returns {Promise<*>}
|
||||
*/
|
||||
export async function updateIntroductionImagesApi(params) {
|
||||
return await post('/product/update-introduction-images', params, 3)
|
||||
}
|
||||
Reference in New Issue
Block a user