diff --git a/src/api/EquipmentConfig/property.js b/src/api/EquipmentConfig/property.js index d797501d..238e5f6f 100644 --- a/src/api/EquipmentConfig/property.js +++ b/src/api/EquipmentConfig/property.js @@ -24,12 +24,11 @@ export function getPropertyById(id) { */ export function getPropertiesByTypeId(typeId) { return request({ - url: `/material-mall/equipment/property/type/${typeId}`, + url: `/material-mall/equipment/property/getByType/${typeId}`, method: 'get' }) } - /** * 根据装备类型ID查询特征值 * @param {Number} typeId - 装备类型ID @@ -41,8 +40,6 @@ export function getPropertiesNameByTypeId(typeId) { }) } - - /** * 根据类型ID查询装备类型及其特征值(扁平化结果) * @param {Number} typeId - 装备类型ID