1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- import request from '@/utils/request'
- // 查询附件列表
- export function listAttach(query) {
- return request({
- url: '/sooka-sponest-center-data/attach/list',
- method: 'get',
- params: query
- })
- }
- // 查询附件详细
- export function getAttach(attachId) {
- return request({
- url: '/sooka-sponest-center-data/attach/' + attachId,
- method: 'get'
- })
- }
- // 新增附件
- export function addAttach(data) {
- return request({
- url: '/sooka-sponest-center-data/attach',
- method: 'post',
- data: data
- })
- }
- // 修改附件
- export function updateAttach(data) {
- return request({
- url: '/sooka-sponest-center-data/attach',
- method: 'put',
- data: data
- })
- }
- // 删除附件
- export function delAttach(attachId) {
- return request({
- url: '/sooka-sponest-center-data/attach/' + attachId,
- method: 'delete'
- })
- }
|