上辅机中间库的连接,改成可视化连接方式,可手动配置,放入第三方配置。
This commit is contained in:
19
jeecgboot-vue3/src/views/system/appconfig/McsDbConfig.api.ts
Normal file
19
jeecgboot-vue3/src/views/system/appconfig/McsDbConfig.api.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
import { defHttp } from '/@/utils/http/axios';
|
||||
|
||||
enum Api {
|
||||
getConfig = '/xslmes/mcs/dbConfig/get',
|
||||
saveConfig = '/xslmes/mcs/dbConfig/save',
|
||||
testConnect = '/xslmes/mcs/dbConfig/testConnect',
|
||||
deleteConfig = '/xslmes/mcs/dbConfig/delete',
|
||||
status = '/xslmes/mcs/dbConfig/status',
|
||||
}
|
||||
|
||||
export const getMcsDbConfig = (params?) => defHttp.get({ url: Api.getConfig, params });
|
||||
|
||||
export const saveMcsDbConfig = (params) => defHttp.post({ url: Api.saveConfig, params });
|
||||
|
||||
export const testMcsDbConnect = (params?) => defHttp.get({ url: Api.testConnect, params }, { isTransformResponse: false });
|
||||
|
||||
export const deleteMcsDbConfig = (params) => defHttp.delete({ url: Api.deleteConfig, params }, { joinParamsToUrl: true });
|
||||
|
||||
export const getMcsDbStatus = () => defHttp.get({ url: Api.status });
|
||||
Reference in New Issue
Block a user