30 lines
902 B
Plaintext
30 lines
902 B
Plaintext
import { Service } from '@/Service/Service';
|
|
/*****地址*****/
|
|
class vpHomeService {
|
|
private static GetMerchListPath: string = '/Home/GetMerchList';
|
|
/*****商家列表*****/
|
|
static GetMerchList(assId: string,comId:string,lon:number,lat:number,page:number) {
|
|
var result = Service.Request(this.GetMerchListPath, 'GET', {assId,comId,lon,lat,page});
|
|
return result;
|
|
}
|
|
|
|
|
|
private static GetMerchInfoPath: string = '/Home/GetMerchInfo';
|
|
/*****店铺详情*****/
|
|
static GetMerchInfo(merchId: string,page:number) {
|
|
var result = Service.Request(this.GetMerchInfoPath, 'GET', {merchId,page});
|
|
return result;
|
|
}
|
|
|
|
|
|
private static GetGoodsInfoPath: string = '/Home/GetGoodsInfo';
|
|
/*****商品详情*****/
|
|
static GetGoodsInfo(goodsId: string,page:number) {
|
|
var result = Service.Request(this.GetGoodsInfoPath, 'GET', {goodsId,page});
|
|
return result;
|
|
}
|
|
|
|
|
|
}
|
|
export { Service, vpHomeService };
|