提交 c94886d3 authored 作者: vipcxj's avatar vipcxj

增加动态接口配置的批量导入导出接口

上级 8ebaf646
......@@ -31,9 +31,15 @@ export const adminApi = {
async getInterfacePlainConfigure(name, dmPath) {
return post(`${config.apiContextPath}/api/interface/admin/${encodeURIComponent(name)}/plainConfigure`, { dmPath });
},
async getInterfacePlainConfigures(dmPath) {
return post(`${config.apiContextPath}/api/interface/admin/plainConfigure`, { dmPath });
},
async setInterfaceConfigure(name, configure, dmPath) {
return post(`${config.apiContextPath}/api/interface/admin/${encodeURIComponent(name)}/configure`, { configure, dmPath });
},
async setInterfaceConfigures(configure, dmPath) {
return post(`${config.apiContextPath}/api/interface/admin/configure`, { configure, dmPath });
},
async removeInterfaceConfigure(name, dmPath) {
return doDelete(`${config.apiContextPath}/api/interface/admin/${encodeURIComponent(name)}/configure`, { dmPath });
},
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论