mirror of
				https://gitee.com/hhyykk/ipms-sjy-ui.git
				synced 2025-10-31 18:28:44 +08:00 
			
		
		
		
	重构:完善配置管理的删除功能
This commit is contained in:
		| @@ -30,7 +30,7 @@ export const getConfig = (id: number) => { | ||||
| } | ||||
|  | ||||
| // 根据参数键名查询参数值 | ||||
| export const getConfigKeyApi = (configKey: string) => { | ||||
| export const getConfigKey = (configKey: string) => { | ||||
|   return request.get({ url: '/infra/config/get-value-by-key?key=' + configKey }) | ||||
| } | ||||
|  | ||||
| @@ -45,7 +45,7 @@ export const updateConfig = (data: ConfigVO) => { | ||||
| } | ||||
|  | ||||
| // 删除参数 | ||||
| export const deleteConfigApi = (id: number) => { | ||||
| export const deleteConfig = (id: number) => { | ||||
|   return request.delete({ url: '/infra/config/delete?id=' + id }) | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 YunaiV
					YunaiV