import request from '@/utils/request'; // 专题导航 搜索列表 export function specialNavPage(query) { return request({ url: '/publicService/specialNavigationConfig/page', method: 'get', params: query, }); } // 专题导航 新增 export function specialNavAdd(data) { return request({ url: '/publicService/specialNavigationConfig/add', method: 'post', data: data, }); } // 专题导航 修改 export function specialNavEdit(data) { return request({ url: '/publicService/specialNavigationConfig/edit', method: 'put', data: data, }); } // 专题导航 删除 export function specialNavDel(id) { return request({ url: '/publicService/specialNavigationConfig/' + id, method: 'delete', }); } // 专题导航 详情 export function specialNavDetail(id) { return request({ url: '/publicService/specialNavigationConfig/' + id, method: 'get', }); } // 通知公告 技术标准 政策法规 搜索列表 export function articlePage(query) { return request({ url: '/publicService/articleConfig/page', method: 'get', params: query, }); } // 通知公告 技术标准 政策法规 新增 export function articleAdd(data) { return request({ url: '/publicService/articleConfig/add', method: 'post', data: data, }); } // 通知公告 技术标准 政策法规 修改 export function articleEdit(data) { return request({ url: '/publicService/articleConfig/edit', method: 'put', data: data, }); } // 通知公告 技术标准 政策法规 删除 export function articleDel(id) { return request({ url: '/publicService/articleConfig/' + id, method: 'delete', }); } // 通知公告 技术标准 政策法规 详情 export function articleDetail(id) { return request({ url: '/publicService/articleConfig/' + id, method: 'get', }); } // 科普知识类别 搜索列表全部 export function knowledgeTypeList(query) { return request({ url: '/publicService/scienceKnowledgeType/list', method: 'get', params: query, }); } // 科普知识类别 搜索列表 export function knowledgeTypePage(query) { return request({ url: '/publicService/scienceKnowledgeType/page', method: 'get', params: query, }); } // 科普知识类别 新增 export function knowledgeTypeAdd(data) { return request({ url: '/publicService/scienceKnowledgeType/add', method: 'post', data: data, }); } // 科普知识类别 修改 export function knowledgeTypeEdit(data) { return request({ url: '/publicService/scienceKnowledgeType/edit', method: 'put', data: data, }); } // 科普知识类别 删除 export function knowledgeTypeDel(id) { return request({ url: '/publicService/scienceKnowledgeType/' + id, method: 'delete', }); } // 科普知识类别 详情 export function knowledgeTypeDetail(id) { return request({ url: '/publicService/scienceKnowledgeType/' + id, method: 'get', }); } // 科普知识管理 搜索列表 export function knowledgePage(query) { return request({ url: '/publicService/scienceKnowledgeConfig/page', method: 'get', params: query, }); } // 科普知识管理 新增 export function knowledgeAdd(data) { return request({ url: '/publicService/scienceKnowledgeConfig/add', method: 'post', data: data, }); } // 科普知识管理 修改 export function knowledgeEdit(data) { return request({ url: '/publicService/scienceKnowledgeConfig/edit', method: 'put', data: data, }); } // 科普知识管理 删除 export function knowledgeDel(id) { return request({ url: '/publicService/scienceKnowledgeConfig/' + id, method: 'delete', }); } // 科普知识管理 详情 export function knowledgeDetail(id) { return request({ url: '/publicService/scienceKnowledgeConfig/' + id, method: 'get', }); } // 调查问卷 搜索列表 export function quesNairePage(query) { return request({ url: '/publicService/adjustmentQuestionnaireConfig/page', method: 'get', params: query, }); } // 调查问卷 新增 export function quesNaireAdd(data) { return request({ url: '/publicService/adjustmentQuestionnaireConfig/add', method: 'post', data: data, }); } // 调查问卷 修改 export function quesNaireEdit(data) { return request({ url: '/publicService/adjustmentQuestionnaireConfig/edit', method: 'put', data: data, }); } // 调查问卷 删除 export function quesNaireDel(id) { return request({ url: '/publicService/adjustmentQuestionnaireConfig/' + id, method: 'delete', }); } // 调查问卷 详情 export function quesNaireDetail(id) { return request({ url: '/publicService/adjustmentQuestionnaireConfig/' + id, method: 'get', }); } // 调查问卷 满意度调查 export function quesNaireCount(id) { return request({ url: '/publicService/adjustmentQuestionnaireConfig/satisfactionStatistics/' + id, method: 'get', }); } // 粉丝信息认证 列表 export function fansList(query) { return request({ url: '/publicService/wechartMiniuser/page', method: 'get', params: query, }); } // 粉丝信息认证 认证 export function fansCert(id) { return request({ url: '/publicService/wechartMiniuser/authentication/' + id, method: 'put', }); } // 粉丝信息认证 取消认证 export function fansCertCancel(id) { return request({ url: '/publicService/wechartMiniuser/unAuthentication/' + id, method: 'put', }); } // 粉丝信息认证 删除 export function fansDel(id) { return request({ url: '/publicService/wechartMiniuser/' + id, method: 'delete', }); } // 投诉建议 列表 export function suggestList(query) { return request({ url: '/publicService/wechartSuggest/page', method: 'get', params: query, }); } // 投诉建议 删除 export function suggestDel(id) { return request({ url: '/publicService/wechartSuggest/' + id, method: 'delete', }); } // 投诉建议 转工单则进行转案件处理 export function suggestOrder(id) { return request({ url: '/publicService/wechartSuggest/changeEventCenter/' + id, method: 'put', }); } // 投诉建议 详情 export function suggestDetail(id) { return request({ url: '/publicService/wechartSuggest/' + id, method: 'get', }); }