• This project
    • Loading...
  • Sign in

Hooke / vben-admin

Itomix
Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Snippets
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • vben-admin
  • playground
  • src
  • api
  • examples
  • params.ts
  • hookehuyr's avatar
    feat: 初始化项目基础结构和配置 · 68b2d1af ...
    68b2d1af
    添加项目基础文件结构、配置文件和核心功能模块
    包括Vite配置、样式、工具函数、组件库和文档等基础架构
    hookehuyr authored 2026-01-06 10:46:30 +0800
params.ts 382 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
import type { Recordable } from '@vben/types';

import { requestClient } from '#/api/request';

/**
 * 发起数组请求
 */
async function getParamsData(
  params: Recordable<any>,
  type: 'brackets' | 'comma' | 'indices' | 'repeat',
) {
  return requestClient.get('/status', {
    params,
    paramsSerializer: type,
    responseReturn: 'raw',
  });
}

export { getParamsData };