22 lines
382 B
JavaScript
22 lines
382 B
JavaScript
import { http } from '@/utils/http'
|
|
|
|
/**
|
|
* 获取装备分类
|
|
*/
|
|
export const getEquipmentTypeAPI = () => {
|
|
return http({
|
|
method: 'GET',
|
|
url: `/material-mall/maType/getEquipmentType`,
|
|
})
|
|
}
|
|
/**
|
|
* 文件上传接口
|
|
*/
|
|
export const fileUploadAPI = (data) => {
|
|
return http({
|
|
method: 'POST',
|
|
url: `/file/upload`,
|
|
data,
|
|
})
|
|
}
|