1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- import request from '@/utils/request'
- // 创建门户配置
- export function createPortalConfig(data) {
- return request({
- url: '/supplier/portal-config/create',
- method: 'post',
- data: data
- })
- }
- // 更新门户配置
- export function updatePortalConfig(data) {
- return request({
- url: '/supplier/portal-config/update',
- method: 'put',
- data: data
- })
- }
- // 删除门户配置
- export function deletePortalConfig(id) {
- return request({
- url: '/supplier/portal-config/delete?id=' + id,
- method: 'delete'
- })
- }
- // 获得门户配置
- export function getPortalConfig(id) {
- return request({
- url: '/supplier/portal-config/get?id=' + id,
- method: 'get'
- })
- }
- // 获得门户配置
- export function getThisConfig(id) {
- return request({
- url: '/supplier/portal-config/getThisConfig',
- method: 'get'
- })
- }
- // 获得门户配置分页
- export function getPortalConfigPage(query) {
- return request({
- url: '/supplier/portal-config/page',
- method: 'get',
- params: query
- })
- }
- // 导出门户配置 Excel
- export function exportPortalConfigExcel(query) {
- return request({
- url: '/supplier/portal-config/export-excel',
- method: 'get',
- params: query,
- responseType: 'blob'
- })
- }
|