feat: 更新getAllNeConfig函数,支持传入neId参数

This commit is contained in:
TsMask
2025-10-17 10:18:36 +08:00
parent 6597b20ff9
commit 95c3001f35
2 changed files with 10 additions and 5 deletions

View File

@@ -5,10 +5,11 @@ import { request } from '@/plugins/http-fetch';
* @param query 查询参数
* @returns object
*/
export function getAllNeConfig(neType: string) {
export function getAllNeConfig(neType: string, neId: string) {
return request({
url: `/ne/config/list/${neType}`,
method: 'get',
params: { neId },
timeout: 60_000,
});
}