- 删除根目录中重复的 NestJS 配置文件 - 删除 tsconfig.json, tsconfig.build.json, eslint.config.mjs, .prettierrc - 保留 wwjcloud-nest/ 目录中的完整配置 - 避免配置冲突,确保项目结构清晰
20 lines
382 B
TypeScript
20 lines
382 B
TypeScript
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 };
|