import { Service } from '@/Service/Service'; class vpCommunityService { private static GetCommunityListPath: string = '/Community/GetCommunityList'; /*****获取全部社区*****/ static GetCommunityList() { var result = Service.Request(this.GetCommunityListPath, 'GET', {}); return result; } private static GetCommunityMerchListPath: string = '/Community/GetCommunityMerchList'; /*****获取社区商家列表*****/ static GetCommunityMerchList(comId:string,assId:string,lat:number,lon:number,page:number) { var result = Service.Request(this.GetCommunityMerchListPath, 'GET', {comId,assId,lat,lon,page}); return result; } private static GetCommunityNoticeInfoPath: string = '/Community/GetCommunityNoticeInfo'; /*****获取社区公告详情*****/ static GetCommunityNoticeInfo(noticeId:string) { var result = Service.Request(this.GetCommunityNoticeInfoPath, 'GET', {noticeId}); return result; } private static GetCommunityNoticeListPath: string = '/Community/GetCommunityNoticeList'; /*****获取社区公告列表*****/ static GetCommunityNoticeList(comId:string,page:number) { var result = Service.Request(this.GetCommunityNoticeListPath, 'GET', {comId,page}); return result; } } export { vpCommunityService }