30 lines
907 B
Plaintext
30 lines
907 B
Plaintext
import { Service } from '@/Service/Service';
|
|
/*****地址*****/
|
|
class vpMerchService {
|
|
private static GetMerchListPath: string = '/Merch/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 = '/Merch/GetMerchInfo';
|
|
/*****店铺详情*****/
|
|
static GetMerchInfo(merchId: string,page:number) {
|
|
var result = Service.Request(this.GetMerchInfoPath, 'GET', {merchId,page});
|
|
return result;
|
|
}
|
|
|
|
|
|
private static GetGoodsInfoPath: string = '/Merch/GetGoodsInfo';
|
|
/*****商品详情*****/
|
|
static GetGoodsInfo(goodsId: string,page:number) {
|
|
var result = Service.Request(this.GetGoodsInfoPath, 'GET', {goodsId,page});
|
|
return result;
|
|
}
|
|
|
|
|
|
}
|
|
export { Service, vpMerchService };
|