45 lines
1.2 KiB
TypeScript
45 lines
1.2 KiB
TypeScript
import request from '@/utils/request';
|
|
|
|
//轮播图
|
|
export async function getHomeBanner() {
|
|
return request('/api/biz-service-ebtp-extend/v1/eventpartybranch/eventStyle/banner');
|
|
}
|
|
|
|
//活动风采列表
|
|
export async function getHomeGraceful() {
|
|
return request('/api/biz-service-ebtp-extend/v1/eventpartybranch/eventStyle/list', {
|
|
method: 'POST',
|
|
data: {},
|
|
});
|
|
}
|
|
|
|
//活动宣言
|
|
export async function getHomeActivity() {
|
|
return request('/api/biz-service-ebtp-extend/v1/eventpartybranch/eventDeclaration/list');
|
|
}
|
|
|
|
//攻坚克难项目
|
|
export async function getHomeProject() {
|
|
return request('/api/biz-service-ebtp-extend/v1/eventpartybranch/eventSubject/list', {
|
|
method: 'POST',
|
|
data: {},
|
|
});
|
|
}
|
|
|
|
//右侧专业线数据
|
|
export async function getHomeRight() {
|
|
return request('/api/biz-service-ebtp-extend/v1/eventpartybranch/data/list');
|
|
}
|
|
|
|
//活动联系人
|
|
export async function getHomeContact() {
|
|
return request('/api/biz-service-ebtp-extend/v1/eventpartybranch/eventContact/group');
|
|
}
|
|
|
|
//提意见 提交
|
|
export async function submitAdvice(data: any) {
|
|
return request('/api/biz-service-ebtp-extend/v1/eventpartybranch/submitSuggestion', {
|
|
method: 'POST',
|
|
data: { ...data }
|
|
});
|
|
} |