algorithmsLibrary.js 1.1 KB

1234567891011121314151617181920212223242526272829
  1. // 算法库
  2. const basePart = '/simulation/resource/server';
  3. const selectSharedAlgorithmList = basePart + '/algorithm/selectSharedAlgorithmList'; // 算法库查询公有列表
  4. const selectAlgorithmList = basePart + '/algorithm/selectAlgorithmList'; // 算法库查询私有列表
  5. const deleteByid = basePart + '/algorithm/deleteByid'; // 确定删除算法
  6. const isAlgorithmRunning = basePart + '/algorithm/isAlgorithmRunning'; // 删除算法时判断绑定算法的项目是否正在运行
  7. const shareAlgorithm = basePart + '/algorithm/shareAlgorithm'; // 分享算法
  8. const addOrUpdate = basePart + '/algorithm/addOrUpdate'; // 私有算法新增
  9. const selectDetailsById = basePart + '/algorithm/selectDetailsById'; // 查询算法详情
  10. const getProgress = basePart + '/file/getProgress'; // 获取上传进度接口
  11. const selectAlgoPlatformList = basePart + '/algorithm/selectAlgoPlatformList' //算法平台列表
  12. export default {
  13. selectSharedAlgorithmList,
  14. selectAlgorithmList,
  15. deleteByid,
  16. isAlgorithmRunning,
  17. shareAlgorithm,
  18. addOrUpdate,
  19. selectDetailsById,
  20. getProgress,
  21. selectAlgoPlatformList
  22. }