mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2026-02-05 01:09:50 +08:00
uniapp【修复】: 服务商品类型问题
This commit is contained in:
@@ -61,7 +61,7 @@ export const queryPromotionList = (data : any) : Promise<Response<Array<any>>> =
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** 获取服务商品列表 */
|
/** 获取服务商品列表 */
|
||||||
export const queryServicelist = (data : any) : Promise<Response<Array<ServiceGoodsType>>> => {
|
export const queryServicelist = (data : any) : Promise<Response<{count:number,list:Array<ServiceGoodsType>}>> => {
|
||||||
return post('Api/Service/GetPageList', {
|
return post('Api/Service/GetPageList', {
|
||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -115,7 +115,7 @@
|
|||||||
|
|
||||||
/** 获取服务商品列表 */
|
/** 获取服务商品列表 */
|
||||||
async function getServicelist() {
|
async function getServicelist() {
|
||||||
const servicelist : Response<Array<ServiceGoodsType>> = await queryServicelist({
|
const servicelist : Response<{ count : number, list : Array<ServiceGoodsType> }> = await queryServicelist({
|
||||||
page: state.page,
|
page: state.page,
|
||||||
limit: state.limit
|
limit: state.limit
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user