Files
vpUni/.svn/pristine/7c/7c415e1c2652fb004669eb8b35b9c98a93a33eb5.svn-base
2026-03-09 16:39:03 +08:00

40 lines
1.2 KiB
Plaintext

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 }