mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 16:23:26 +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', {
|
||||
data,
|
||||
});
|
||||
|
||||
@@ -115,7 +115,7 @@
|
||||
|
||||
/** 获取服务商品列表 */
|
||||
async function getServicelist() {
|
||||
const servicelist : Response<Array<ServiceGoodsType>> = await queryServicelist({
|
||||
const servicelist : Response<{ count : number, list : Array<ServiceGoodsType> }> = await queryServicelist({
|
||||
page: state.page,
|
||||
limit: state.limit
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user