Zlpt_Portal_h5/src/services/common/index.js

22 lines
382 B
JavaScript
Raw Normal View History

import { http } from '@/utils/http'
/**
* 获取装备分类
*/
export const getEquipmentTypeAPI = () => {
return http({
method: 'GET',
url: `/material-mall/maType/getEquipmentType`,
})
}
2024-12-25 18:12:01 +08:00
/**
* 文件上传接口
*/
export const fileUploadAPI = (data) => {
return http({
method: 'POST',
url: `/file/upload`,
data,
})
}