import request from '@/utils/request';

/**
 * 根据图纸代码批量查询JPG简图
 * @param {string} nums 逗号分隔的图纸代码字符串，如 "F001,F002"
 * @returns {Promise} data 为 { FNum: base64, ... } 的映射
 * @Author: Trae
 */
export function getImagesByNums(nums) {
  return request({
    url: '/drawing/file/imageByNums',
    method: 'GET',
    params: { nums }
  });
}
